This notice a applies to customers where https.requestSuitelet(options) is used in one or more SuiteScript scripts in your account. The behavior of this API will change in the coming months.
What is changing?
Effective June 13, 2024, https.requestSuitelet() will be supported for internal URLs. This will become the default behavior, without the need to set the option.external parameter.
As of July 30, 2024, option.external will be removed as a parameter option, and use of option.external=true will stop working. Previously, this parameter could be set to option.external=true to call Suitelet marked Available Without Login using the External URL on the script deployment record. After July 30, Suitelets called with https.requestSuitelet(options) will default to external=false behavior.
This change also applies to the promise version: https.requestSuitelet.promise(options).
Required actions
You should remove usage of the https.requestSuitelet(options) method with option.external=true from your scripts as soon as possible.
In the context of authenticated sessions, you can call your Suitelet using its internal URL by removing the option.external parameter from https.requestSuitelet().
Best practices to keep in mind when developing Suitelets include:
- Suitelets are not intended for use in systems integration use cases. Restlets are intended for this use.
- External Suitelets should be reserved for creating online forms.
For more information on general guidelines for Suitelets, see SuiteScript 2.x Suitelet Script Type, SuiteAnswers ID 43799.
For more information about the https.requestSuitelet(options) method, see https.requestSuitelet(options), SuiteAnswers ID 108345.
If you have additional questions, please contact NetSuite Customer Support.