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 completely ignored, no error, just ignored.

Are Client Scripts not available for External URL’s in NetSuite? Or is there some workaround for it?
I didn’t find any documentations for External URL restrictions.
Findings:
When you select Available Without Login and then save the Script Deployment record, an External URL field is displayed on the Script Deployment page (see following figure). Use this URL for Suitelets you want to make available to users who do not have an active NetSuite session.
Note The Website feature must be enabled for Clients Scripts to work in externally available Suitelets
Please go to Set up > company > Enable features >Web presence > Website. Here is a screenshot for your reference

The Suitelet should be in released status to avoid any other errors.
The following table shows how you can specify the localization context based on the script type.
