Additional system variables - Cloud

Variables

The following system variables are also available, but are not shown in the variables list. These variables are used in publishing templates, used by the library for localized content, and used in command line actions.

When the system variables for HTML publishing template are used, the variable must be added to the template with a namespace declaration.

For example, to use SYS_BREADCRUMBS in the template you must add authorit: inside the first angle bracket.

<

 

Variable name

Where the variable is used

SYS_BREADCRUMBS

HTML template placeholder that resolves to a "breadcrumb" list of links to the current topic in HTML outputs; defined in a custom body_template using a namespace declaration, for example, <

SYS_BREADCRUMBS_WITHOUT_ACTIVE

HTML template placeholder that excludes the current topic from the breadcrumbs in HTML outputs; defined in a custom body_template using a namespace declaration, for example, <

SYS_KEYWORDS

HTML template placeholder that resolves to the keywords in the topic; defined in a custom body_template using a namespace declaration: <.authorit:SYS_KEYWORDS

If the <

SYS_LOCALE_ABBREVIATION

Locale code assigned to localized objects for localization purposes.

SYS_TOPIC_BODY

HTML template placeholder for adding topic content; defined in a custom body_template using a namespace declaration: <

Notes:

  • This variable can be used to add the topic text (without the topic heading) to an HTML template.
  • The variable should be used instead of <
  • The variable should only be used once inside an HTML template. If used more than once only the first instance will be resolved.

SYS_PUBLISH_BOOK_ID

The book's object code (id)

SYS_LIBRARY_COMMAND_LINE

The command line parameter required to open this library

SYS_PUBLISH_FILENAME

Used in a command line action or publishing profile and provides the output filename and file type

SYS_OBJECT_REVISION

Resolves to the revision number for the object, which increments when the topic is saved; so can be used to identify the latest revision of a published topic.