Permissions for Using Gulp.js with NetSuite

Learn the necessary permissions for using Gulp.js to deploy files in NetSuite, including role requirements and two-factor authentication.

·2 min read·1 views·View Oracle Docs

To use Gulp.js for deploying source files to NetSuite, it is crucial to utilize a role equipped with the necessary permissions. Proper permissions ensure the ability to fetch and deploy files seamlessly. Here’s what you need to know:

Role Permissions Requirements

  • A role with appropriate permissions is mandatory to fetch files from and deploy files to NetSuite using the Commerce developer tools.
  • Starting with NetSuite 2018.2, two-factor authentication (2FA) is required for all accounts. The Commerce developer tools necessitate token-based authentication for fetch and deploy actions.
  • To establish token authentication, you must have a role that grants permissions to perform the fetch and deploy operations.
  • Typically, the Administrator and SCDeployer roles come with these permissions. Administrators can also create custom roles that incorporate these permissions if necessary.

Best Practices and Considerations

  • If you're encountering issues with a role like SCDeployer during fetch or deploy actions, verify that the role has consistent permission settings and is included in the same script deployment records as any custom roles you’ve set up.
  • For detailed guidance, you may find the following topics useful:
    • Creating a custom role with fetch and deploy permissions.
    • Assigning the Administrator or a custom role to an employee record.

Conclusion

Understanding and configuring your role's permissions is essential for effectively collaborating with the Commerce developer tools in NetSuite. Ensure that your role is correctly set up to maintain a smooth development process.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

What permissions are required to use Gulp.js for deploying files in NetSuite?
To use Gulp.js for deploying files, a role with appropriate permissions is needed to fetch and deploy files using the Commerce developer tools. Typically, the Administrator and SCDeployer roles include these permissions.
Is two-factor authentication necessary for using Gulp.js with NetSuite?
Yes, starting with NetSuite 2018.2, two-factor authentication is required for all accounts when using Gulp.js for file deployment.
How can I set up token-based authentication for Gulp.js in NetSuite?
To set up token-based authentication, you must use a role that grants permissions for fetch and deploy operations. This setup is essential to comply with NetSuite's security requirements starting from version 2018.2.
What should I do if my SCDeployer role has issues with file fetch or deploy actions?
If you encounter issues with the SCDeployer role, check to ensure the role has consistent permission settings and is included in the same script deployment records as any custom roles you have configured.
Source: Permissions Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →