Contact Us
A pair of netsuite consultnats engaged in discussion while using a laptop at a table.

Context

Natively, only the Administrator and SCDeployer roles have the necessary permissions to fetch and deploy code changes to a NetSuite environment. If you are using a custom role for fetching and deployment, ensure the following permissions are set.

Add Permissions to the Custom Role

Navigate to Setup > Users/Roles > Select your custom role.

Set at least the following permissions on the role:

Lists Subtab

PermissionLevel
Documents and FilesFull
Website (External) publisherFull
Custom Record EntriesFull

Setup Subtab

PermissionLevel
Allow JS/HTML UploadsFull
Custom ListsFull
Set Up Web SiteFull
SuiteScriptView
SOAP Web ServicesFull
REST Web ServicesFull
Access Token ManagementFull
Log in using Access TokensFull
User Access TokensFull

Save the Role.

Add the Role to Script Deployments

Navigate to Customization > Scripting > Script Deployments.

Script deployment IDs:

  • customdeploy_ext_mech_deployer_rest
  • customdeploy_ns_sc_ext_mech_restlets
  • customdeploy_ext_mech_web_service_rest
  • customdeploy_ns_scs_deployer

    For SCA, this would be customdeploy_ns_sca_deployer_MySCAVersion, with the ending matching your SCA version.

  • customdeploy_ns_sc_ext_mech_ui
  • customdeploy_ns_sc_ext_mech_services

Search the script deployment list for one of the above IDs and edit the script deployment record.

Update the Internal Roles List to include your custom role.

3968045f-29f0-4b7e-ac8c-45a4a8b85992.png

Save the Script Deployment record.

Repeat this process with the 6 different script deployments. Once done, follow the typical steps for code fetching and deployment.

Additional References:

Create a Custom Role with Fetch and Deploy Permissions

Related Articles

Tagged with Training, Security & Permissions