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}?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @davidl38471046
This question is specific to DITA implementation. Requesting you to please raise under Experience Manager Guides - Adobe Experience League Community
You might be able to get quicker response there
did you try writing a Sling model to generate ID in your pattern and include in HTL like below
sling model:
<div data-sly-use.myModel="com.myproject.MyModel" id="${myModel.dynamicId}">
<!-- Component content -->
</div>
Hello @davidl38471046
This question is specific to DITA implementation. Requesting you to please raise under Experience Manager Guides - Adobe Experience League Community
You might be able to get quicker response there
Views
Likes
Replies