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.
Source: This article is based on Oracle's official NetSuite documentation.
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
- 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