RPE Element IDs


With RPE 1.3 you might notice a new read-only property for all template elements, the ID. This property actually existed since RPE 1.0 but until now it was hidden as it served no immediate purpose.

The serviceability changes, especially the Document Studio Debugger, rely heavily on IDs and so the property has been made visible but remains read-only. You can see the ID in the properties page as well as in the tooltip of each element.

elementID

The IDs can be used for search and are also printed in several error messages to help identify the error location:

elementIDSearch

When loading older templates you might notice warnings in the console about ID conflicts.  RPE 1.3 automatically corrects the IDs, ensuring that each ID is used only once per template.

elementIDWarnings

Advertisements

Author: Dragos Cojocari

Architect for Rational Publishing Engine

1 thought on “RPE Element IDs”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s