Customize the Theme Manifest in NetSuite for Effective Management
Edit the theme manifest for effective customization in NetSuite. Include all components for best results.
In NetSuite theme development, editing the manifest.json file is crucial for customizing your theme effectively. This file, located in the theme's Workspace directory, lists all HTML templates, Sass, and assets. It's necessary to adjust this file when you add new components to your theme.
What is a Theme Manifest?
The theme manifest is a JSON file essential for compiling resources for an active theme in NetSuite. It contains metadata about the theme and lists information about templates, Sass, skins, assets, and paths. Understanding each section aids in effective theme customization and deployment.
Theme Metadata
The metadata section includes fields like name, vendor, type, target, version, and description. These fields provide critical information about the theme, such as its name and version, and are automatically updated when you deploy using the gulp theme:deploy command.
How to Manage Overrides
Overrides are included if you introduce extension overrides. Using Gulp.js commands, any HTML or Sass overrides are automatically included in this file, ensuring they are correctly integrated into the theme.
Templates Section
The templates object lists HTML template files associated with different applications. You must manually add new template files here to ensure they are included in your custom theme.
Sass Management
In the sass object, you list all entry points and Sass files to load. Ensure any new Sass files are declared in an order that follows the Sass hierarchy to maintain theme integrity.
Customizing Skins
The skins array is populated when you run theme commands. For example, creating seasonal skins like winter and spring involves adding skin preset files, which are then automatically included in the manifest. You can edit these presets to provide custom names for display in the SMT Theme Skin Manager.
Assets and Record Paths
The assets object manages image and font paths. Ensure any new asset files added for customizations are included here. Finally, the manifest concludes with record paths defining the theme's location and activation identifiers.
Who This Affects
- Developers: Those involved in theme development and customization.
- Site Managers: Responsible for maintaining site aesthetics using themes.
Key Takeaways
- The
manifest.jsonfile is crucial for managing a NetSuite theme's components. - Always update the manifest to include new templates, Sass files, and assets.
- Skins and assets require careful management to reflect theme customizations effectively.
- Deploy correctly with Gulp.js commands to ensure all changes are integrated.
Frequently Asked Questions (4)
How can I create different selectable skins for a theme in NetSuite?
Do I need to run a specific command for the theme developer tools to update my manifest.json with skins?
Can I change the display names for skins in the SMT Theme Skin Manager later?
Where should I store the skin preset files for my theme?
Was this article helpful?
More in General
- NetSuite 2026.1: Support for Consolidated Reports and SuiteQL
New SuiteQL tool and consolidated reports enhance NetSuite 2026.1 reporting. Starting with the latest updates in NetSuite 2026.1, NetSuite enhances reporting
- Release Notes PDF Availability in NetSuite
NetSuite provides generated PDF files for each Release Note update, enhancing accessibility and user experience.
- Enhanced Commitment Credits for Flexible Billing in NetSuite
Commitment Credits in NetSuite SuiteBilling offer enhanced flexibility for usage-based billing across diverse services.
- Unlinking Intercompany Cross Charge Journals in NetSuite
Learn how to unlink intercompany cross charge journals in NetSuite efficiently without needing external support.
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category