Global variables for links in text

Build 1501 on 14/Nov/2017  This topic last edited on: 4/Mar/2015, at 09:00

You can put the following variables within the <Dict> node of the EditorialConfig configuration file. For instructions, see Adding or overriding variables in your EditorialConfig.

Find the actual values of such variables in EditorialConfig item in EdAdmin4, the Application Configuration > Client Applications, searching for EditorialConfig. The data is common for all titles in the system.

Should you need to specify different values of variables for different typographies, look for instructions at the Typography-dependent overridable variables.

This variable handles insertion of hyperlinks in text.

Variable

Type

Default value

Comment

glburltag

string

"link"

In a style library linked to all the formats (typically the J style library) must exist a character style with the tag name defined in glburltag variable, e.g "link".

That character style is just a placeholder, but it needs the appropriate XML Output, as shown below.

Example of the style:

Click to toggle graphic size

In case that the name of your url tag style is not link, but xyz, add this line to the <Dict node of the EditorialConfig:

<Item Name="glburltag" Value="xyz" />

Should you need to specify different values of this variable for different typographies, look for instructions at the Typography-dependent overridable variables.

Note: the value of the variable appears also in XSL stylesheets for Web export, therefore, if you change the value, the default stylesheets may stop to deliver.

See also

Inserting Web hyperlink in text