Update Themes and Extensions

This topic explains how to update Commerce themes and extensions that are part of a SuiteApp.

Before You Begin

Before releasing an updated Commerce theme or extension, be aware of the following best practices:

  • Business users can choose whether or not to activate an updated theme or extension. Therefore, always develop your theme and extension updates to be backwards compatible with previous versions.

    For example: NetSuite records are maintained within a NetSuite account. If your extension update requires altering a custom record, you could break backwards compatibility with previous versions of the extension.

  • Always test theme and extension functionality and backwards compatibility on a development or sandbox account before releasing the bundle.

  • If you bundled a theme or extension prior to the 18.2 release of the SuiteCommerce Extensions Management SuiteApp, we recommend rebuilding the installation script using SuiteScript 2.0 the next time you update a theme or extension included in the bundle.

  • You must increment the version of at least one theme or extension when updating a SuiteApp. If the SuiteApp does not include a theme or extension with a later version, the update fails.

  • The SuiteApp version has no programmatic connection with the versioning system of themes and extensions.

  • If your theme or extension update requires customizing the installation script, you can edit the existing script. You do not need to build a new script.

  • These procedures only apply to themes and extensions that are being released as part of a bundled SuiteApp. Updates to custom themes or extensions (as developed by internal site developers) are made using the developer tools.

Update Themes and Extensions Within a SuiteApp

To update a theme or extension that is part of a SuiteApp:

  1. Update your theme or extension as required. See Develop Themes and Develop Extensions for more information.

  2. Deploy your updated theme or extension to the NetSuite account used to create the original SuiteApp.

    Increment each version using a Major.Minor.Patch numbering scheme. Theme and extension version numbers should follow this format, where d is a single digit: dd.dd.dd. Failure to use this format results in failed SuiteApp updates.

  3. Confirm that the manifest.json file associated with the updated theme or extension reflects the correct version.

    1. In NetSuite, navigate to the location where you deployed your theme or extension update.

      For example:


    2. Open the associated manifest.json file and confirm the version.

      The manifest.json file should reflect the latest version in SemVer notation. For example, if you deployed an update to MyCoolExtension 1.0.0 to version 2.0.0, your manifest.json file should look similar to the following example:

          "fantasyName": "My Cool Extension!",
                "name": "MyCoolExtension",
          "vendor": "Acme",
          "type": "extension",
          "target": "SuiteCommerce",
          "version": "2.0.0",
          "description": "This is my cool update!", 
    3. If the manifest does not reflect the correct version, redeploy or edit the manifest file in your file cabinet.

  4. If your theme or extension update requires changes to the installation script, edit the installation script as needed.

    See SuiteScript 2.x Bundle Installation Script Type for details.

  5. Edit the SuiteApp using SuiteBundler in NetSuite. See Creating a Bundle with the Bundle Builder for details.

Related Topics

Bundle Themes and Extensions as SuiteApps
Bundle Process for SuiteCommerce
Declare Target Versions

General Notices