Versioning

Into a component you can select the version of the component you want to edit.

By clicking on the first menu item (Version 1ā€¦N), a dialog will show you the versions currently defined for the component.
By default, only the Version 1 is available.

The table display the available versions, and for each one the status and last update date. The status can be one of:

  • Published: the version is visible in at least one environment as specified in the Availability section.

  • Not Published: the version is not visible in any environment.

You can click on a specific version to edit, and the page will switch to that version. When entering the component editing page, the latest version is always opened, so be careful when start editing.

Create a new Version

By clicking on the Add Version button, the entire component is cloned to a new version with state set to Not Published.
The new version is marked as Draft, and within it, you can start editing the new version of the component.

When done you can click on the Draft version to start editing it.
In the Availability section you can select one environment where to test changes. Each time you edit something and press Save button, the Draft component is immediately installed and updated in the selected environment.

In this way you can directly test changes without affecting other environment using the same component.
To help you to debug your code, the JS resource is not minimized, so you can navigate the DPS and add breakpoints to your source code.

When you have completed your development, into the Version table, by clicking on the three dots icon of the Draft version you can select whether to promote changes to a new public version or merge changes to the current one.