Blog

Version Control of UI Extensions

May 7, 2024
Patrick Bakker
1 Min Read

Table of contents

Whenever a UI extension is updated and saved, a new version of it is created. Until it is activated, it is labeled โ€˜Being Preparedโ€™. So far, if an account designer or administrator wanted to return to a previous version of the UI extension, they could copy the HTML, JavaScript, or CSS, paste it into the correct field in โ€˜Editโ€™ mode, and then save it again to create a new version that was the same as a previous version. This has now been made much easier.

Whenever there are multiple versions of a UI extension, the field at the top right of the UI extension which says โ€˜Activeโ€™ has a number higher than 1. When selecting a previous version in โ€˜Viewโ€™ mode, a Restore versionโ€ฆ button now becomes available.

UI Extension version

After pressing the button, the UI extension opens in โ€˜Editโ€™ mode with that version loaded. It still needs to be saved to become the current prepared version, or saved and activated to become the new active version.