Blog

Enforce Uniqueness of IDs in UI Extensions

August 17, 2019
Carlyn Manly
Author
Carlyn Manly

When an account designer uses the Snippet feature to add a field to a UI extension, Xurrent now ensures that the field ID it suggests is not already included in the HTML.

UI Extension snippet with automatically generated unique ID

Even if the HTML is manually adjusted and a non-unique ID is found in the HTML when the user attempts to save the UI extension, Xurrent will display a message to let the user know which ID exists more than once.

UI Extension error message - HTML contains duplicate IDs