Join Slack
Powered by
<@UCBRT48KA> you can use `N/url.resolveDomain`
# suitescript
m
mtsb
04/24/2019, 9:12 PM
@Wolf
you can use
N/url.resolveDomain
w
Wolf
04/24/2019, 9:16 PM
I looked into that but the URL of the file is like '
system.na0.netsuite.com
' and resolveDomain gives me '
1234567-sb1.app.netsuite.com
'
Wolf
04/24/2019, 9:16 PM
Which seems to work right now but I wasn't sure if that would change in the future
m
mtsb
04/24/2019, 9:18 PM
the ‘
system.na0.netsuite.com
’ addresses are on the way out as i understand it. account specific urls like those returned from N/url are the new ‘way’.
w
Wolf
04/24/2019, 9:21 PM
OK, that makes sense. Thanks!
m
mtsb
04/24/2019, 9:23 PM
no problem!
2
Views
Open in Slack
Previous
Next