I have an easy one this morning When I add a optio...
# suitescript
s
I have an easy one this morning When I add a option to the menu, I enter the whole path https://123456.app.netsuite.com/app/common/scripting/script.nl?id=3805 When I copy take a copy of prod to Sandbox, it's causing me problem I think that there's a way to avoid it like /app/common/scripting/script.nl?id=3805 I tried it, not working. What is the right syntax ?
y
Instead of using script internal id you can use script scriptid
w
You can also make navigation links to the suitelet on the script deployment record. Links made this way will automatically update in a refreshed sandbox.
r
@yagyakumarnag If you don't know the answer please don't offer an answer. Use
url.resolveDomain
and
url.resolveScript
. Note that you can determine which instance the script is running in with
runtime.envType