Adding an ID to elements

Last Updated : May 17, 2021 |

About this task

You can add an ID to an element, such as p, step, cmd, ul , table, and graphic, to reuse in another topic. Tridion Docs automatically assigns IDs to some elements such as section. For elements that have an ID assigned by Tridion Docs, you do not need to manually add an ID to reuse the element.

Important:

Always create IDs to content set for reuse in a common topic. The content from the common topic can be reused across projects.

Before you begin

  • You require write permissions to a topic to add IDs within the topic.

  • If you do not own the topic, contact the topic owner who could add IDs to the content that you want to reuse.

Procedure

  1. Check out the topic from which you want to reuse elements.
  2. Double-click or select the element.

    The Attributes window opens.

  3. In the id field of the Attributes window, type a string, for example, AddUserInfo.

    Provide an ID that is descriptive and relevant to the content in the element. Do not use the wand icon next to the Id field.

    Note:

    In tables, you can reuse the following:

    • elements in a cell

    • entire cell

    • rows in the table

    Click OK.

  4. Check in the topic.