Changes to Script Audience Settings Release 2015.1

Starting 2025.1, when you select all roles on the audience setting for SuiteScript scripts and SPAs, only internal roles are selected. Additionally, internal and external roles are now shown in two separate multiselect fields.

 The Audience subtab on the script deployment record now includes separate lists for internal roles and external roles:

  • Internal Roles – Includes a multiselect field with a list of internal roles. You can select individual roles from the list or check the Select All box to make the script available to all internal roles.
  • External Roles – Includes a multiselect field with a list of external roles, which you can select individually.

For the scriptdeployment structured field within each script type SDF custom object, the behavior of the following fields has changed:

  • allroles – Setting this field to T (true) means that all internal roles are selected.
  • audslctrole – You can use this field to specify roles individually, including any external roles, in the script audience. If the allroles is set to T, any internal roles listed in the audslctrole field will be ignored.

These changes apply to the following custom objects for script types:

  • clientscript
  • massupdatescript
  • portlet
  • restlet
  • suitelet
  • usereventscript
  • workflowactionscript

 Important: This feature is targeted to be available in March 2025.

Leave a comment

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