Upcoming changes to how audience roles are defined for script deployments.
What is Changing?
For NetSuite 2025.1 accounts, starting March 13, 2025, you will no longer be able to deploy scripts to both internal and external roles by completing either of the following actions:
* Checking the Select All box in the Audience subtab in the UI, or
* Setting the scriptdeployment field allroles to T in the SDF custom object XML for a script.
The update will include the following changes:
* In the NetSuite application, on the Audience subtab of the Script Deployment page:
* The current Roles field will be split into two separate multiselect fields: Internal Roles and External Roles.
* Checking the Select All box next to the Internal Roles field will select internal roles only. External roles will need to be selected individually.
* In a custom script object’s XML file in SDF, the following changes apply to the scriptdeployment fields for audience roles:
* Setting allroles to T will select internal roles only.
* It will still be possible to use audslctrole to individually specify both internal and external roles. If allroles is set to T, all internal roles will be included in the audience along with any specific external roles listed in audslctrole.
* For existing script deployment records, previously selected external roles will be mapped to the new External Roles field when your account is upgraded to 2025.1. For script deployments with the Select All box checked, all values in the External Roles field will be selected.
Required Action for Script Owners
If you maintain scripts that are deployed to all roles through the Select All box, review the use case of each script to confirm if each external role is necessary. Edit the script deployment to remove unnecessary roles.
For reference, the following is a list of standard external roles:
* Customer Center
* Employee Center
* Vendor Center
* Shopper
* NetSuite Support Center
* Online Form User
* Partner Center
* NetSuite Support Center (Basic)
Required Actions for SDF Users
For SDF users who work with scripts that have the Select All box checked (allroles set to T on the scriptdeployment object), you must update your SDF custom object XML files. You can do one of the following:
* Before March 13, 2025: To prepare for the upcoming changes, manually update the script SDF custom object XML. In the audslctrole field under scriptdeployment, specify the external roles that the script should be deployed to.
* After March 13, 2025: When your NetSuite account is updated, you can reimport the script SDF custom objects to your local SuiteCloud project.
Important: After your NetSuite account is updated on March 13, 2025, script deployments that previously had the Select All box checked will have all values in the External Roles field selected. Failing to specify the external roles in the audslctrole field in your SDF XMLs before redeploying your local project will unset these values.
For reference, the following are the affected script SDF custom object types:
* clientscript
* massupdatescript
* portlet
* restlet
* suitelet
* usereventscript
* workflowactionscript
To view the list of standard roles that you can include in the audslctrole field, see the SDF XML reference for generic_role (SuiteAnswers ID 66104).
To search for script deployment records that have the Select All box checked on the Audience subtab, see Get a List of Script Deployment Records Deployed to All Roles via Select All Roles Checkbox (SuiteAnswers ID: 1019892).