Create Additional Modules for Your Extension in NetSuite
Create additional modules for your NetSuite extension using developer tools. Manage file types and avoid record limits effectively.
To enhance your NetSuite extension, you can create additional modules beyond the baseline one. This process utilizes the developer tools and the gulp command line interface. Here's a step-by-step guide on how to do this effectively.
How to Add Additional Modules to Your Extension
Follow these instructions to successfully add modules to your baseline extension:
-
Start with a Baseline Extension: If you haven’t created one yet, refer to the documentation on Creating a Baseline Extension.
-
Open Your Command Line Interface: Begin by accessing the terminal or command line on your machine.
-
Navigate to Your Project Directory: Change into the top-level extension development directory that was established during the installation of the extension developer tools.
-
Execute the Module Creation Command: Run the following command to initiate module creation:
bashgulp extension:create-module -
Provide Required Information: The system will prompt you for the following details:
-
Module Name: Choose a name for your module using only alphanumeric characters without spaces.
-
File Types Required: Select from the following file options for your extension:
- JavaScript
- SuiteScript
- Templates
- Sass
- Configuration
- SuiteScript2
Note: Only versions of the Extension Developer Tools from 2020.1 onwards will have the
SuiteScript 2.0file type available. -
Select Extension: If your workspace has multiple extensions, choose the one for which this module is relevant.
-
-
Repeat as Necessary: If you need to add more modules, simply repeat steps 4 and 5.
Important Considerations
- Record Limits: Be mindful that NetSuite enforces limits on records to manage web service consumption. To avoid issues, keep the number of files and folders at the same level to a maximum of 100.
- Suggestions to manage this include distributing images across several folders or placing custom modules in a separate top-level directory.
- After building the baseline extension files in your developer environment, you’re ready to start developing your extension. Refer to the guide on Developing Extensions for further details.
Key Takeaways
- You can create additional modules for your extension using the
gulpcommand. - Use only alphanumeric characters for naming modules.
- Keep file types organized and limited to avoid exceeding NetSuite's record limits.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
What command is used to create additional modules for a NetSuite extension?
Are there specific requirements for naming a module in NetSuite extensions?
Do I need a specific version of the Extension Developer Tools to access SuiteScript 2.0 file types?
What are some strategies to manage record limits when creating additional modules?
Was this article helpful?
More in SuiteCloud Development Framework
- SuiteCloud Developer Assistant: AI Coding Support in
SuiteCloud Developer Assistant enhances NetSuite development with AI-powered coding features, offering real-time assistance and SuiteScript generation.
- SuiteCloud CLI for Node.js: New Features Overview
Explore the new features of SuiteCloud CLI for Node.js, enhancing SuiteCloud project development with interactive tools.
- SuiteCloud Developer Assistant Feature for Visual Studio
Discover the new SuiteCloud Developer Assistant integrated with Visual Studio Code for enhanced SuiteCloud project development.
- SuiteCloud Development Framework in NetSuite 2026.1
SuiteCloud Development Framework features in NetSuite 2026.1 enhance customization, deployment, and management for developers.
Advertising
Reach SuiteCloud Development Framework Professionals
Put your product in front of NetSuite experts who work with SuiteCloud Development Framework every day.
Sponsor This Category