Seems like I've seen this asked before, but I can'...
# suitescript
b
Seems like I've seen this asked before, but I can't find it. Maybe it ong enough ago to drop off the Slack history.. I have a user event script (deployed in an SDF SuiteApp, if that matters) and it refers to a helper file in its define statement
define([ ...    './helper.js' ...
That helper file had a typo in it, so the user event threw a reference error. Easy enough, I fixed the typo and redeployed the SDF project. Still throws the reference error. Flushed local cache (even though its a server script), Introduced intentional errors upstream of the fixed one to verify it wasn't using the new file , renamed the helper file so the old name doesn't exist in the file cabinet, yelled at the monitor.... still running the old helper file with the same typo error. How do I get NetSuite to reload the updated helper script?
e
edit the file in the NS UI.. add a comment or something
b
Sigh. If only the Built for NetSuite questionnaire hadn't insisted we set everything to Locked
e
I ran into this issue with a bundle install file, it wasn't fun. I gave up, removed it, and went another route. In your case, I am not sure what you can do, since the file is locked and it's a SuiteApp.
b
redeploy and unlock the script/files in question
n
have you checked that your deploy.xml is updating the help file specifically?