Change a valid component reference
After you include the content of an element in a component, such as phrases, topics, images, and maps, you can change the reference later if you need to. To change a reference, you can delete it and then recreate it, or simply edit it by using the browse option to locate new elements that you want to use.
Tips and Tricks
- Although you can do this action from the Components browser or a project, these instructions tell you how to do it from the Components browser.
- You can only create relationships to elements with ID values. For more information read Repair component relationships.
- If you aren't sure what to select using the Manage Relationships screen, you can open the component in the Oxygen editor and change the reference in the editor. Follow the steps in Edit a content reference in Oxygen.
When you repair a self-referencing link, the following syntax is used:
- If a cross-reference is pointing to content in a separate file, Inspire includes the file name:
<filename>#<rootid>/<elementid>
- If a cross-reference is pointing to content that exists in the same file, DITA assumes it's the same, so Inspire drops the file name:
#<rootid>/<elementid>
- If a cross-reference is pointing to content in a separate file, Inspire includes the file name:
To change a component reference: