ClientScripts not available in External URL
I
am running a simple suitelet with a form, to which I am adding a clientscript.
form.clientScriptModulePath = './clientScript.js';
It works fine, as long as the suitlet is run from the ‘normal’ url. But if External URL is used, clientScript seems to be completly ignored, no error, just ignored.
My questions is… Are Client Scripts not available for External url’s in NetSute ? Or is there some workaround for it ?
I didn’t find any documentations for external url restrictions.
Make the file used for the client script available without login
I faced this issue once, and it was fixed when I turned on the “Website” feature (under Setup –> Company –> Enable features)




