Understand how to set up reference content and IDs in DITA with Adobe FrameMaker.
To create a conref in your DITA topics, you first need to create a DITA topic (direct referencing) or a DITA map (indirect referencing) that contains the content (elements) that you plan to reuse. For example, say you plan to reuse a table, an ordered list, and an image across multiple topics. You will need to add these elements to the source topic. If you are using indirect referencing, the topic is then added to the DITA map. For details, see Using keyspaces to manage DITA key references.
To make an element reusable, you need to assign a unique identifier to the element. For details, see DITA ID attribute. FrameMaker uses this unique identifier to differentiate the conref elements. For example, if you update the source element, FrameMaker uses the unique identifier to identify the elements in the container topics that need to be updated.
The DITA ID attribute provides a method to uniquely identify content (topics or elements) to reference.
In a DITA topic, you can assign a unique ID to an element to use the element when you are creating a conrefs (Working with DITA conrefs) or cross-references (Cross-References) to the element from another topic. By default, FrameMaker assigns a unique ID to the topic, when you Create a DITA topic.
See the specifications on ID attribute.
In the Structure View, select an element in the source topic.
Choose
.Alternatively, right-click on the element and select Assign ID to Element from the context menu.
To check if an element has an ID assigned to it, in the Structure View, click arrow sign to the right of the element.
If you assign a unique ID to an element to which an ID is previously assigned, you will be prompted to replace the existing ID.
Select an instance of the element for which you want to assign IDs.
Choose Assign ID dialog.
to open theBy default, the element selected before selecting Assign ID to Elements is selected in the drop-down.
Select Include specializations to assign IDs to specializations of the selected element. If you are in a DITA map, select Process Topicrefs in Ditamap to assign IDs to all instances of the selected element in the topics in the DITA map.
If you have multiple files open, select All open files to assign IDs to all the instances of the selected element in all the open files.
Click Assign.