Gulp Commands for Extension Development in NetSuite
Utilize Gulp commands effectively for extension development in NetSuite, including creating, deploying, and managing custom extensions.
TL;DR Opening
This article outlines the Gulp commands used for extension development in NetSuite, enabling developers to create and manage extensions efficiently. Understanding these commands can significantly streamline the development process and enhance customization capabilities.
What Are Gulp Commands for Extension Development?
Gulp is a powerful task runner that helps automate repetitive tasks in the development workflow. In NetSuite, Gulp commands specifically cater to extension developers by simplifying processes such as creation, updating, and deployment of extensions.
Key Gulp Commands
Here are the essential Gulp commands for extension development:
| Command | Description |
|---|---|
gulp extension:create | Creates an example extension with a baseline module and necessary folders for customizations. |
gulp extension:create-module | Prompts for module information to create within a specified extension. |
gulp extension:fetch | Downloads the active theme and compiles resources, placing them in the Extras folder of the extension development directory. |
gulp extension:local | Compiles custom extension files into an application and starts a local server that watches for file changes. |
gulp extension:deploy | Compiles and deploys extension files into the NetSuite File Cabinet, prompting for information if the extension has not been deployed before. |
gulp extension:update-manifest | Updates the extension's manifest.json file without requiring a deployment. |
gulp reactivate | Triggers a reactivation process for all installed extensions and themes on the website. |
Special Parameters
Some commands have additional parameters that modify their behavior:
--account: Use to specify the NetSuite account number for commands likefetchanddeploy. This is particularly important for accounts with domain-specific setups, such as sandbox or production accounts.--preserve-manifest: Prevents updating the manifest file when runninglocalordeploycommands, which is useful when manual changes to the manifest have been made.--skip-compilation: Bypasses compilation steps during deployment, which can expedite the process but may skip critical file checks.
Who This Affects
- Developers: Individuals creating custom extensions on the NetSuite platform.
- Administrators: Roles involved in setting up and maintaining the extension architecture in NetSuite.
Key Takeaways
- Familiarizing yourself with the Gulp commands can streamline extension development processes in NetSuite.
- It is crucial to understand the consequences of options like
--skip-compilationand--preserve-manifestto avoid deployment issues. - Properly managing the extension manifest is essential for maintaining organizational standards in code management.
Frequently Asked Questions (4)
What is the purpose of the 'gulp extension:create' command in NetSuite extension development?
How can I specify a NetSuite account number when using Gulp commands?
What does the '--preserve-manifest' parameter do when running Gulp commands?
What happens if I use the '--skip-compilation' parameter during deployment in NetSuite?
Was this article helpful?
More in SuiteCloud Development Framework
- Enhancements to Custom Tool Scripts in NetSuite 2026.1
NetSuite 2026.1 improves custom tool scripts with execution logs, management page, and binary file support. TL;DR Opening
- SuiteCloud CLI for Node.js: New Features in NetSuite 2026.1
Explore new features in SuiteCloud CLI for Node.js for streamlined development in NetSuite 2026.1.
- beforeUndeploy Installation Hook in NetSuite 2026.1
Introducing the beforeUndeploy installation hook in NetSuite 2026.1 for custom pre-uninstall logic in SuiteApps.
- SuiteCloud CLI for Java: Features and Automation in NetSuite
Enhance development workflows with SuiteCloud CLI for Java in NetSuite 2026.1. Explore its automation features and benefits.
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