Specify Target Version for SuiteCommerce Extensions in NetSuite
Learn how to specify a target version for extensions in NetSuite to maintain SuiteCommerce compatibility and functionality.
Specify a Target Version for Extensions
Specify a Target Version for Extensions
You should specify version compatibility in your extension to ensure that it can only be installed and activated on a compatible SuiteCommerce website. If the extension is not compatible with the website, it is hidden on the Activate Themes and Extensions page in the NetSuite account. To specify version compatibility, use the target_version key in the extension manifest file.
"target_version": { "SCA": ">=21.2.0", "SCS": ">=21.2.0"}See Edit the Extension Manifest for more information about manifest metadata.
When creating an extension for SuiteCommerce Advanced, you should also check the extensibility API to determine if a component or method is available in a particular version of SCA. In addition, when you instantiate a component, you can verify that it is available by checking its return value. If a component is not available, its return value is null.
var userProfile = container.getComponent('UserProfile'); if (userProfile) { // Component is available}Frequently Asked Questions (4)
How do I specify a target version for SuiteCommerce Advanced extensions?
What happens if the extension is not compatible with the SuiteCommerce website version?
Is it necessary to manually edit the manifest.json file for specifying version compatibility?
How can I ensure that a SuiteCommerce Advanced component is available in a particular version?
Was this article helpful?
More in Platform
- Edit Extension Manifest for SuiteScript in NetSuite 2023.2
Learn how to manually edit the extension manifest.json file in NetSuite SuiteScript and safeguard your changes.
- RecordType Property for SuiteQL Metadata Retrieval in NetSuite
RecordType property retrieves metadata for SuiteQL queries. Essential for fetching valid fields and relationships.
- Configuring Sass in NetSuite Extensions: Complete Guide
This guide covers how to configure Sass in NetSuite extension's manifest.json file and ensure proper deployment. Manual Edits
- FieldLabel Object Members for Document Processing in SuiteScript
FieldLabel Object enhances document processing with confidence and name properties in SuiteScript 2.1.
Advertising
Reach Platform Professionals
Put your product in front of NetSuite experts who work with Platform every day.
Sponsor This Category