When AEM auto-generates IDs for elements, can you specify the element <title> in the "pattern for generating IDs field"? | Community
Skip to main content
Level 2
March 7, 2024
Solved

When AEM auto-generates IDs for elements, can you specify the element <title> in the "pattern for generating IDs field"?

  • March 7, 2024
  • 1 reply
  • 580 views

 

In my DITA XML docs, I want elements that have an auto-generated unique ID, but I also want the IDs to follow a format/pattern of element<title>, followed by element name, and unique generated ID number (eg. <fig id="Toaster-Oven_fig_2">).

When configuring element id patterns in the Adobe Experience Manager Web Console Configuration page, can you specify the element <title> in the "pattern for generating IDs field"? The pattern is ${elementName}_${id}. Is it possible to specify the pattern: ${title}_{elementName}_${id}?

Best answer by GunjanK

No, we do not have {title} variable support here. Only two variables (elementName and id) are there. You can have different strings with these variable to have different patterns of IDs.

1 reply

GunjanKAdobe EmployeeAccepted solution
Adobe Employee
March 8, 2024

No, we do not have {title} variable support here. Only two variables (elementName and id) are there. You can have different strings with these variable to have different patterns of IDs.