Change a valid component relationship

You can change a component relationship even if it isn't invalid using the browse option. This lets you locate components that you want to use for the new relationship. You can change a valid relationship at the component or element level. You can do this action from the Components browser or a project.

Tips and Tricks

A content owner or administrator can set permissions to deny access to components or folders. If your permissions to content has been blocked and you are not an administrator, you cannot use the Advanced options in a project's Content pane.

  • 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.
  • Inspire now supports content references to ditabase topics. A ditabase topic is a composite topic. Before maps, ditabase was used to collect multiple topics and structure them within a single topic file.
    • If you use a conref to a ditabase topic, Inspire no longer identifies it as an invalid relationship.
  • 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>

To change a valid component relationship:

  1. Click Components_TopMenuOpt Components.
  2. In the Folders pane, navigate to the folder where you've saved the component.
  3. In the Components pane, select the component that has an valid relationship that you want to change.
  4. Right-click the component's row, select Advanced, and then select Relationships...
    You can also click the Options menu, select Advanced, and then select Relationships...
  5. On the Manage relationships dialog, you'll see a list of any invalid references.

    By default, when you open the Manage Relationships screen, only references that are Invalid are shown.

  6. To see all relationships, you must clear the default selection of Only Show Invalid Relationships and click Refresh.

  7. Look in the Status column and select a component that has a Valid relationship.
  8. In the component's row, right-click and select Browse.
    You can also click the Options menu and select Browse.
  9. On the Select Component screen, in the Folders pane, navigate to the folder that contains the component you want to reference.
  10. In the Components pane, select the component that has a valid reference that you want to use in place of the existing one.
  11. In the Target Element pane, select the element you want to use, and then click Select.
    If you aren't sure what to select or what you want isn't listed, you can open the component in the Oxygen editor and change the reference there.
    Results:
    • On the Manage Component Relationships screen, the relationship is now listed as Valid.
    • The target attribute value for the components is updated to the repaired target component file name.
    • The component is saved.

    After creating a reference to another component, Inspire tracks the relationship.

    • If the following statements are both true:
      • An administrator has enabled an optional feature to help you manage referenced content
      • Changes are made in the referenced component that impacts the reference
    • The user is warned that this referenced component will be updated also.
    • For more information, read Save changes in referenced components.
  12. Repeat steps 5-9 to change as many relationships as necessary.
  13. On the Manage Component Relationships screen, click Close.

    When you complete a task that triggers a notification, such as changing relationships, the Slack and email message bodies contain:

    • The the title and file name of the component that was repaired.
    • Ten or less Issues, Errors, and Warnings.
    • A link at the bottom of the message [See Full Version].
    • You can click the [See Full Version] link to expand a section under the link with the full details.
    • For more information, review the Sample Inspire notification.