Blog

Version Control of UI Extensions

May 7, 2024
Patrick Bakker
Author
Patrick Bakker

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.