Templates

Templates are blueprints of your documents. You can create templates in the Project Console and design them in the Template Builder add-in for Microsoft Word. A template is a .docx Word document with added Experlogix functionality. The process for creating and using a template consists of these general steps:

1. Creating a template.
2. (Optional) Attach one or more data sets to it.
3. Design the template with the Template Builder Word add-in. For more details, please refer to the Template Builder user manual.
4. Creating a Flow based on the template.
5. End users can now run that flow to generate documents.

Template Types

There are three types of templates in Smart Flows. Please find the details in the table below:

Types

Description

Standard templates

Standard templates  convert the populated template into one document. The benefit of working with this template is everything you put in the template ends up in your document (barring possible conditional content).

Compositions

Compositions are containers for standard templates and other compositions. You can merge multiple templates into one document. The benefit of working with this template is that you can reuse standard templates in multiple compositions. You can even use compositions in other compositions.

Template Designer

Template Designer is mainly used for Portal customers for creating more advanced templates that require custom coding. Smart Flows fully supports Template Designer templates.

Basic Settings

In the template's detail view, you can find the Basic settings of the template. You can edit the template Name, Description, and Data sets in the Basic settings.

Tags

Tags allow you to quickly filter for tagged entities and content to use in designing your outputs. For more details, please refer to Tags.

History

Whenever you publish a template from within the Word add-in, it creates a new version. The History tab displays all the version details, such as version number, created by, comment, size, created on (date), and design. You can edit the version by selecting Edit this version. It downloads a .docx file of that particular version.

Dependencies

Dependencies are of two types:

Inbound Dependencies: Items that depend on active items. If you delete functional items, it automatically deletes its inbound dependencies.

Outbound Dependencies: Items that the active items depend on. If you delete an outbound dependent item, it deletes the active items.

Dependencies

Document Zones

When designing a template, you need to design it into different document zones. There are 4 document zones in Smart Flows. Please find the details in the table below:

Every template should only contain the zone where it's used for. E.g.: A Body template should not contain a header or a footer.

Design

You can manage templates using The List View. Follow the below steps for designing your templates.

Preview

1. In the Template detail view, select the Preview button.

The preview document dialog displays.

Preview document dialog

2. In the Template language variant dropdown menu, select the language.

Preview document button

3. In the Output format dropdown menu, select the format you want to preview your document.
4. In the Sample from data set dropdown menu, select the sample you want to preview.
5. Select the Preview document button.

It generates a PDF file using the data from the samples you selected.

Composing Templates

You can use the Composition Builder to build a composition. The Composition Builder has two main components: the list of templates and four boxes, one for each document zone.