Content Reuse

One of the main features of DITA is the ability to reuse content. It allows reuse of content from small phrases up to entire topics or maps. However, for content to be effectively reused, it must be well managed. Ensure that you have an effective Content Strategy when working with reusable information.

Create a reusable topic

When a change is made to a reusable source topic, the information will update everywhere the content is used.

  1. Navigate to the Repository.

  2. Click the contextual menu next to the reuse folder.

  3. Choose Create > Dita Topic.

  4. Populate the fields in the Create New Topic dialog. For example:

    Confirmation

  5. Click Create.

  6. Add content to the topic as required.

Add a new reusable element to a topic

There are several methods for adding reusable elements. Here, the first workflow is best when adding only one component. The second workflow is better for adding multiple reusable components.

Workflow 1

  1. Click in the topic at a valid location.

  2. Select the Insert Reusable Content icon on the top toolbar.

    Confirmation

  3. In the Reuse Content dialog, click the Folder icon.

  4. Navigate to the required folder.

  5. Choose a topic with reusable components.
    For example:

    Confirmation

  6. Click Select.

  7. Choose a specific component to reuse.

  8. Click Select.

The reusable element has now been inserted into the topic.

Workflow 2

  1. Navigate to Reusable Contents on the left panel.

  2. Click the Add icon on the Reusable Contents panel.

    Confirmation

  3. Navigate to a folder.

  4. Select a specific topic or topics.

  5. Click Add.

  6. From the Reusable Contents panel, expand Element Overview.

  7. Drag and drop an element into the topic at a valid location.

The reusable element has now been inserted into the topic.

Assign an ID and value to an element

The dlentry you just created is a reusable element. Therefore, it requires an ID and a value.

  1. Click inside the dlentry.

  2. In the Content Properties panel, click the dropdown under Attribute.

  3. Select ID.

  4. Type a logical name for the Value.

  5. Save or version the topic so the change reflects in the Repository.

The ID and value have been assigned to the element.

recommendation-more-help
5d77304e-09c3-49ad-9381-b66e7cbd5f86