Component upgrades

How you upgrade reusable components depends on your installation method:

Upgrade your cloud-hosted components

Update the version number of the component in the script link in the HTML HEAD.

Example

image17

Note

If you use the link with latest rather than a specified version number, you will always have the most current production version. No action is needed on your part!

That’s it! You’re done.

Upgrade your embedded components

  1. Download the latest version of the Zip file.
  2. Prepare the build files:

    1. Open the downloaded package on your favorite IDE (Integrated development environment)
    2. Open a terminal from the downloaded folder
    3. Run npm install
    4. If you have added extended code, copy and paste it again into the downloaded component.
    5. Run

      • for US: npm run build:prod2
      • for EMEA: npm run build:prod2de

    A new folder WWW is created in the project. This folder contains all the build files needed for integration.

  3. Copy the WWW folder and paste it in your project.
  4. Install based on the framework.
Note

Framework instructions are here.

That’s it! You’re done.