Search code examples
netsuitesuitescriptsuitescript2.0clientscript

Issue in running a client script in NetSuite suitescript 2.0


I have a client script in NetSuite 2.0 which is already running ,but if I am making any changes to it, the new changes are not getting reflected the script is still running with the old code. Even if I try to add single log.debug it is not getting reflected when the script is running.


Solution

  • There are a couple of things to check:

    • first thing is if you are running in the UI then your browser probably cached the script so a ctrl-F5 to reload the page should fix things.
    • second you may not be updating the correct file. If you navigate to the script definition you can open the code directly and verify your changes are there.