New Changes in the External URL of the Suitelet

A Suitelet is a type of NetSuite script used to create custom pages and/or implement backend logic.

Suitelets come in two types:

UI Suitelets: Draw a page with NetSuite look-and-feel that users can interact with. For example, a Suitelet could be used to capture product surveys. When users submit the survey, the data can be stored in NetSuite or trigger other business processes.

Backend Suitelets: Perform business logic without displaying a user interface and provide a response.

When a Suitelet is deployed to a NetSuite account, the system automatically generates a unique URL that can be used to assess it. By default, Suitelets are only accessible to users logged into that NetSuite account, with access governed by roles and permissions..

However, Suitelets can be made accessible to anyone by selecting the “Available Without Login” option. This generates an external URL that anyone with the link can access.

external suitelet url, available without login

External Suitelet URLs include parameters such as scriptdeploymentcompid, and ns-at. These parameters tell NetSuite which Suitelet script to load from which account when the URL is accessed. The ns-at parameter is the subject of our discussion; it was previously h and had a different value.

Example URL Changes

Before May 9, 2024, the external URL of our survey Suitelet was something like:

https://tstdrv2480368.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=133&deploy=1&compid=TSTDRV2480368&h=62c8d6985ca1bbf99231

After May 9, 2024, it changed to:

https://tstdrv2480368.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=133&deploy=1&compid=TSTDRV2480368&ns-at=AAEJ7tMQP9ZKcF03-t1xajuirKgbRVQWTOnbGxd7YSfyurZkL1A

Note that “ns-at” not only replaces “h” as a parameter key but also has a different value.

Leave a comment

Your email address will not be published. Required fields are marked *