Hello everyone, I want to know the benefits of usi...
# suitescript
j
Hello everyone, I want to know the benefits of using nlapiResolveUrl() or url.resolveScript() over using the direct URLs which we get on script deployment page.
e
It allows you to get the URL dynamically, it is bad practice let hard coded any URL, it might change in the future or it changes from Sandbox to Production
s
Great example is the datacenter specific URLs going away, that is not an issue if you don't hardcode your URLs.