Issue: When accessing External URL Suitelet links, you may encounter a permission error. This issue arises because the necessary roles have not been selected in the Audience subtab on the Script Deployment Record.
Solution:
To resolve this permission issue, follow these steps:
- Navigate to the Script Deployment Record:
- Go to the Script Deployment page in your NetSuite account.
- Access the Audience Subtab:
- Within the Script Deployment Record, locate and click on the Audience subtab.
- Select All Relevant Roles:
- Ensure that you select all the roles required for both Internal and External users. This includes any roles that need access to the Suitelet.
- Save the Changes:
- After selecting the appropriate roles, save the changes to the Script Deployment Record.
Example:
- Go to: Customization > Scripting > Script Deployments.
- Edit the relevant Script Deployment.
- Click on the Audience subtab.
- Select all necessary roles under both Internal Roles and External Roles.
- Save the Script Deployment.
By ensuring that all necessary roles are selected in the Audience subtab, you will grant the appropriate permissions to access the External URL Suitelet links without encountering permission errors.
Note: Always verify that the roles you select have the appropriate permissions and access levels required for the Suitelet functionality.