RE: 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.

enter image description here

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.

Arudian Rookie Asked on June 25, 2021 in SuiteScript.
Add Comment
2 Answers

I faced this issue once, and it was fixed when I turned on the “Website” feature (under Setup –> Company –> Enable features)

Beginner Answered on August 9, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.