Assets
Documentation article about Assets
Assets
Assets
The assets object defines paths to the images and fonts located in the extension directory's assets folder. This defines an array for each image and font used. These paths are relative to the extension's assets folder path. Extensions treat services as assets. These are created on NetSuite servers when you activate/deploy your extension.
If the extension developer tools detect a file name with the pattern XYZ.ServiceController.js, they create the service (.ss) file and add a reference in the manifest. Later, when you activate the extension, the .ss file deploys to the backend as an asset.
1//...2"assets": {3 "img": {4 "files": []5 },6 "fonts": {7 "files": []8 },9 "services": {10 "files": [11 "services/MyCoolModule.Service.ss",12 "services/AdditionalCoolModule.Service.ss"13 ]14 }15},16//...Frequently Asked Questions (4)
How are assets paths defined in a NetSuite extension?
What happens when an extension developer tool detects a file name with the pattern XYZ.ServiceController.js?
Are services considered assets in NetSuite extensions?
Where are services deployed after activating a NetSuite extension?
Was this article helpful?
More in General
- Field Service Management Enhancements and Bug Fixes for 2026
Overview of the 2026 Field Service Management SuiteApp updates showcasing enhancements and bug fixes.
- Integrating NetSuite Connector with Shopify: Setup Guide
Integrate your NetSuite Connector with Shopify seamlessly by following this setup guide, including key authorization steps.
- Gulp Commands for Theme Development in NetSuite
Utilize Gulp commands for efficient theme development in NetSuite, including fetching, deploying, and validating themes.
- Baseline Extension Creation for SuiteCommerce Development
Creating a baseline extension in SuiteCommerce involves generating a structured workspace, including assets and essential configuration files.
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category