Knowledge Base - Template Designer

Convert to Content Control Tag

It is possible to convert a standard content control to an Experlogix tag to make the title dynamic. You can access achieve this by clickingConvert to content control tag in the ribbon:

image-20260813-144015.png

The button in the ribbon is only enabled when you have the cursor in a Rich text content control. It doesn't work with Plain Text content control. Here are the properties:

General Properties

Item

Description

Label

The name of the tag. It is shown in the document area.

Value

The value needs to be some code returning a string that will be the the title of the content control in the resulting document.

If other properties of the content control need to be set, it will need to be done by code. Here's an example:

new ContentControlInfo()
{
    Title = "The Title",
    Tag = "The Tag",
    LockMode = ContentControlLockMode.Delete,
    PlaceholderText = "Type some text here",
    Style = ContentControlStyle.Standard
}

Advanced Properties

Item

Description

Is Catching Exception

When enabled, if an error occurs within this specific tag during the generation of the document, the error will be ignored.

Metadata

Allows to associate information to the tag. This isn't considered when generating the document. It is rarely used.