Dynamic Text Variables

Dynamic text variables are pieces of content that take their value from either the client session or from other elements in your content. They are resolved when you publish and you can use them to insert content such as:

  • Current date and time, which is taken from your client session and so is accurate for your local time zone.

    To learn how to add these variables, see Dynamic Text Variables for Time and Date.

  • The content of any element in your publication. This can be elements in the publication or elements in your topics. For example, you could have dynamic text variables for the author, edition or releaseinfo elements.

    To learn how to add these variables, see Dynamic Text Variables for Elements and Attributes.

Note

If you publish to PDF in multiple languages, there is an option to Combine selected languages in the PDF layout. You can only use dynamic text variables if Combine selected language is disabled (unchecked).

Dynamic text variables are only supported when publishing individual PDFs.