A Visual Studio Code extension that simplifies the creation of NetSuite SDF (SuiteCloud Development Framework) script objects. This extension provides an intuitive menu-driven interface to generate XML configuration files for various NetSuite script types.
Features
- Menu-Driven Interface: Choose between 'Object' or 'File' categories, then select the specific script type you want to create.
- Multiple Script Types Supported:
- Client Script
- User Event Script
- Map/Reduce Script
- Scheduled Script
- Suitelet Script
- Restlet Script
- Portlet Script
- Custom Record Script
- Mass Update Script
- CSV Import Script
- Automatic Validation: Ensures script IDs follow NetSuite naming conventions (start with 'customscript_')
- Length Limitation: Automatically validates and truncates script IDs to 40 characters maximum
- Auto-generated File Names: XML file names are automatically created based on the script ID
- Pre-filled Values: Default values are provided based on the selected script type
Usage
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+P) - Type "NS SDF: Create" and select the command
- Choose the object category ('Object' or 'File')
- Select the script type from the list
- Enter the script ID (automatically validated to start with 'customscript_')
- Enter the script name
- The extension will generate the appropriate XML file in the current workspace
Requirements
- Visual Studio Code 1.80.0 or higher
Extension Settings
This extension contributes the following command:
netsuite-sdf-tool.generateScript: Creates NetSuite SDF script objects through a menu-driven interface
Known Issues
- None at this time
Release Notes
0.0.1
- Initial release
- Menu-driven interface for creating various NetSuite script types
- Automatic validation and formatting of script IDs
- Support for generating XML configurations for all major script types
Contributing
Contributions are welcome! Feel free to submit issues or pull requests to improve this extension.
License
This extension is licensed under the MIT License.