Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How to get current Netsuite Domain
So,
Pretty simple ... I'm exporting some data and want to include a direct link back to the record that is exported.
Fair enough ... I use the url.ResolveRecord that returns me the 'relative' path to that record. I need the fully qualified link ...
Any suggestions how I get my 'current' netsuite domain? ie. system.sandbox.netsuite.com, system.na1.netsuite.com, etc
I'm in a RESTlet.
My thoughts
- look at the Customer Centre Login URL in the Company Information (but what if they don't have Company Information?
- make a custom Company Preference (but this seems overkill)
Thoughts anyone?
0