Create Automated Templates in Word

Available from Version: 9.0 

Operating System: Windows 

empower® Add-in: Document Automation

Label_For_Administrators.svg

If you have the required permissions, you can access the button Automation Designer via your ribbon (Figure 225, “Button Automation Designer).

Figure 225. Button Automation Designer

Button Automation Designer

If you click on this button, a drop-down menu opens, featuring the following options (Figure 226, “Options under Automation Designer):

  • Wizard Designer

  • Fields

  • Conditions

  • Linked content blocks

Figure 226. Options under Automation Designer

Options under Automation Designer

You can use these options to either create a new automated template or to edit an automated template.

To edit an automated templates stored in the empower® Library, navigate to its location and right-click on it.

The context menu opens.

Choose the option Edit template (Figure 227, “Option Edit Template).

Figure 227. Option Edit Template

Option Edit Template

Important

Before editing the automated template, you need to create questions in the Wizard Designer.

For further information regarding the Wizard Designer, see Use the Wizard Designer.

Note

For further information regarding the admin permissions, see Permission Distribution.

Add Fields

You have the option to define placeholders using the button Fields, which will be filled with the corresponding user inputs when using the automated template.

In the text, placeholders are marked by square brackets, in which the name of the question is written (Figure 228, “Placeholder in Document”).

Figure 228. Placeholder in Document

Placeholder in Document

To insert a field, follow the following steps:

  1. Navigate to the location in the document where you want to insert the field.

  2. Then, click on the button Automation Designer and choose the option Fields (Figure 229, “Option Fields).

    A dialog box opens.

Figure 229. Option Fields

Option Fields

  1. In the dialog box, select the question for whose answer you want to create a placeholder (Figure 230, “Choose Field”).

  2. Then, click on the button OK.

    The placeholder will be inserted at the desired location.

Figure 230. Choose Field

Choose Field

If you want to insert placeholders for the answers to a Multiple Choice question, keep in mind that you need to insert multiple placeholders.

Depending on how many answer options you want to insert, you have to insert a separate placeholder for each answer option.

To do so, change the index in the field overview. The number in the index indicates which answer option is displayed (Figure 231, “Enter Index”).

Index 1 corresponds to the answer that is first selected during the insertion of the template.

Figure 231. Enter Index

Enter Index

If you insert too many placeholders for a Multiple Choice question, they will not be filled in when a user fills in the template and will still appear as placeholders in the finished document.

If you insert less placeholders than needed, additional response options selected by the user will not be displayed.

Therefore, either provide the exact number of possible answer options in the question, or instruct users to manually remove unnecessary placeholders in the document.

Fields can also be inserted into other objects such as shapes. To do so, follow the following steps:

  1. Create a shape in the document using the Word built-in functions.

  2. Select the shape.

  3. Click on the button Automation Designer and choose the option Fields.

    A dialog box opens.

  4. In the dialog box, select the question for whose answer you want to create a placeholder.

    For example, select a Picture question in the overview so that the image selected by the user appears in this shape.

Note

You can also access the option Insert Field via the context menu.

In the template, it is not visible that elements have been provided with a field.

To see all assigned fields, click on the button Automation Designer and then click on the arrow symbol next to the option Fields (Figure 232, “Open Options for Fields”).

Figure 232. Open Options for Fields

Open Options for Fields

Here, choose the option Manage Fields (Figure 233, “Option Manage fields).

A dialog box opens.

Figure 233. Option Manage fields

Option Manage fields

In this dialog box, you are provided with an overview of all fields in your document.

To insert the field again at your current cursor position, select the entry and click on the button Insert (Figure 234, “Buttons Insert and Create for Fields” (1)).

To add a new field at your current cursor position, click on the button Create (Figure 234, “Buttons Insert and Create for Fields” (2)).

Figure 234. Buttons Insert and Create for Fields

Buttons Insert and Create for Fields

In the dialog box, choose one of the available fields from the list and click on the button OK (Figure 235, “Dialog for Field Creation”).

You can now insert the new field via the button Insert.

Figure 235. Dialog for Field Creation

Dialog for Field Creation

To edit an existing entry, select it and click on the button Edit (Figure 236, “Button Edit for Field”).

In the dialog box, you can change the field you have used.

Figure 236. Button Edit for Field

Button Edit for Field

The same field can also be inserted multiple times in one document.

To see where the field has been inserted, expand the entry (Figure 237, “Expanded Field Entry”).

Figure 237. Expanded Field Entry

Expanded Field Entry

To delete one occurrence of a field, select it from the entry and click on the button Delete (Figure 238, “Delete Single Field Occurrence”).

Figure 238. Delete Single Field Occurrence

Delete Single Field Occurrence

To delete the entry completely and therefore remove all occurrences of the field, select the entry itself and click on the button Delete (Figure 239, “Delete Entire Field Entry”).

Figure 239. Delete Entire Field Entry

Delete Entire Field Entry

A dialog box opens (Figure 240, “Deletion Confirmation for Fields”).

To confirm the deletion process, click on the button Yes.

Figure 240. Deletion Confirmation for Fields

Deletion Confirmation for Fields

Add Conditions

You can use conditions to decide when to display an element or a content block and when not to.

For every question or instruction type except for the Picture question/instruction, rules can be created that include conditions.

For one rule, multiple conditions can be created, either all of which must be met or at least one of which must be met for the rule to take effect.

The conditions can be linked with either AND or OR.

If you add two conditions that are linked by AND within a rule, both conditions must be met for the rule to apply.

If you add two conditions within a rule that are linked by OR, only one of the conditions must be met for the rule to apply.

To insert a condition, follow the following steps:

  1. Navigate to the location in the document where you want to insert the condition.

  2. Choose a shape or content block on which you want to apply the condition.

  3. Click on the button Automation Designer and choose the option Conditions (Figure 241, “Option Conditions).

    A dialog box opens.

Figure 241. Option Conditions

Option Conditions

  1. In the dialog box, select the condition you want to assign (Figure 242, “Choose Condition”).

    To view the condition rule in a mouse-over, hover over the information symbol.

  2. Then, click on the button OK.

Figure 242. Choose Condition

Choose Condition

Conditions are not visible in the document.

To see all conditions and their usage in the document, click on the button Automation Designer and then click on the arrow symbol next to the option Conditions (Figure 243, “Open Options for Conditions”).

Figure 243. Open Options for Conditions

Open Options for Conditions

Then, choose the option Manage conditions (Figure 244, “Option Manage conditions).

A dialog box opens.

Figure 244. Option Manage conditions

Option Manage conditions

In this dialog box, you are provided with an overview of all available conditions.

The conditions are listed on the left-hand side and their rules are displayed on the right-hand side.

To apply the condition on the currently selected shape or text, first select the element in your document and then the condition in the dialog box and click on the button Insert (Figure 245, “Insert Condition”).

Figure 245. Insert Condition

Insert Condition

To add a new condition, click on the button Create (Figure 246, “Create Condition” (1)).

On the right-hand side, enter a name for the rule into the input field (Figure 246, “Create Condition” (2)).

Then, either click on the button Add AND or Add OR, depending on the condition you want to create (Figure 246, “Create Condition” (3)).

For further information regarding the rule structure for the single question types, see Rule Structure.

Figure 246. Create Condition

Create Condition

To edit an existing entry, select it from the list. It is then displayed on the right-hand side.

To change the rule name, enter a new name into the input field.

To add new rules to the condition, use the buttons Add AND and Add OR.

To delete rules from the condition, select the rule and click on the button Delete on the right-hand side of the dialog box (Figure 247, “Delete Rule”).

Figure 247. Delete Rule

Delete Rule

The same condition can also be applied multiple times in one document.

To see where the condition has been applied, expand the entry on the left-hand side of the dialog box (Figure 248, “Expanded Condition Entry”).

Figure 248. Expanded Condition Entry

Expanded Condition Entry

To delete one occurrence of a condition, select it from the entry and click on the button Delete on the left-hand side of the dialog box (Figure 249, “Delete Single Condition Occurrence”).

Figure 249. Delete Single Condition Occurrence

Delete Single Condition Occurrence

To delete the entry completely and therefore remove all occurrences of the condition, select the entry itself and click on the button Delete (Figure 250, “Delete Entire Condition Entry”).

Figure 250. Delete Entire Condition Entry

Delete Entire Condition Entry

A dialog box opens (Figure 251, “Deletion Confirmation for Condition”).

To confirm the deletion process, click on the button Yes.

Figure 251. Deletion Confirmation for Condition

Deletion Confirmation for Condition

Rule Structure

The rules are structured differently for each type of question:

Text Input Question 

Question

Condition

Value

Consequence

[Name of the question]

Is Equal to

[Text Input]

The rule applies if the value of the text input matches the respective question.

Capitalization is taken into account.

[Name of the question]

Is Not Equal to

[Text Input]

The rule applies if the value of the text input does not match the respective question.

Capitalization is taken into account.

Yes/No Question 

Question

Condition

Value

Consequence

[Name of the question]

Is

Selected

The rule applies if the Yes/No Question was answered with Yes.

[Name of the question]

Is not

Selected

The rule applies if the Yes/No Question was answered with No.

Single Choice Question 

Question

Condition

Value

Consequence

[Name of the question]

Is Equal to

[Answer Option]

The rule applies if the value corresponds to the selected answer option.

[Name of the question]

Is Not Equal to

[Answer Option]

The rule applies if the value does not correspond to the selected answer option.

Multiple Choice Question 

Question

Condition

Value

Consequence

[Name of the question]

Contains

[Answer Option]

The rule applies if the value corresponds to one of the selected answer options.

[Name of the question]

Not Contains

[Answer Option]

The rule applies if the value does not correspond to any of the selected answer options.

Add Linked Content Blocks

You can use empower® Document Automation to link content blocks to the automated template.

When the template is run, the content block is inserted instead of the link.

To link a content block, follow the following steps:

  1. Open the empower® Library.

  2. Navigate to the location of the desired content block.

  3. Select the element you want to link.

  4. In the navigation bar, click on the button Copy link (Figure 252, “Button Copy link).

Figure 252. Button Copy link

Button Copy link

  1. Go back to your automated template and navigate to the position where you want to insert the linked content block.

  2. Click on the button Automation Designer and choose the option Linked content blocks (Figure 253, “Option Linked content blocks).

    A dialog box opens.

Figure 253. Option Linked content blocks

Option Linked content blocks

  1. In the dialog box, paste the link into the input field.

    A preview of the content block appears, as well as its metadata (Figure 254, “Insert Linked Content Block”).

  2. Then, click on the button OK.

    A placeholder for the content block is inserted.

Figure 254. Insert Linked Content Block

Insert Linked Content Block

To view an overview of all linked content blocks, click on the button Automation Designer and then click on the arrow symbol next to the option Linked content blocks (Figure 255, “Open Options for Linked Content Blocks”).

Figure 255. Open Options for Linked Content Blocks

Open Options for Linked Content Blocks

Then, choose the option Manage linked content blocks (Figure 256, “Option Manage linked content blocks).

A dialog box opens.

Figure 256. Option Manage linked content blocks

Option Manage linked content blocks

In this dialog box, you are provided with an overview of all linked content blocks.

To insert the linked content block again, select the entry and click on the button Insert (Figure 257, “Buttons Insert and Create for Linked Content Blocks” (1)).

To add a new linked content block, click on the button Create (Figure 257, “Buttons Insert and Create for Linked Content Blocks” (2)).

Figure 257. Buttons Insert and Create for Linked Content Blocks

Buttons Insert and Create for Linked Content Blocks

In the dialog box, enter a name for the linked content block and then paste the link into the second input field (Figure 258, “Link New Content Block”).

Figure 258. Link New Content Block

Link New Content Block

To edit an existing entry, select it and click on the button Edit (Figure 259, “Button Edit for Linked Content Block”).

Figure 259. Button Edit for Linked Content Block

Button Edit for Linked Content Block

In the dialog box, you can change the entry name and the link you have used.

The same content block can also be linked multiple times in one document.

To see where the content block has been linked, expand the entry (Figure 260, “Expanded Linked Content Block Entry”).

Figure 260. Expanded Linked Content Block Entry

Expanded Linked Content Block Entry

To delete one occurrence of a linked content block, select it from the entry and click on the button Delete (Figure 261, “Delete Single Linked Content Block Occurrence”).

Figure 261. Delete Single Linked Content Block Occurrence

Delete Single Linked Content Block Occurrence

To delete the entry completely and therefore remove all occurrences, select the entry itself and click on the button Delete (Figure 250, “Delete Entire Condition Entry”).

Figure 262. Delete Entire Linked Content Block Entry

Delete Entire Linked Content Block Entry

A dialog box opens (Figure 263, “Deletion Confirmation for Linked Content Block”).

To confirm the deletion process, click on the button Yes.

Figure 263. Deletion Confirmation for Linked Content Block

Deletion Confirmation for Linked Content Block

Important

If you insert content blocks as linked content blocks using an empower® Link, the content block cannot be updated when it is updated in the empower® Library.

Since empower® Document Automation is intended to create ready-to-use documents that are not updated, linked content blocks should be preferred.

If you still want the content block to be updatable, follow the instructions under Insert Content Blocks via Library.

Note

For futher information regarding empower® Links, refer to our empower® Content Enablement manual.

Insert Content Blocks via Library

In automated templates, you can also insert content blocks from the empower® Library.

To do so, follow the following steps:

  1. Navigate to the position in your document where you want to insert the content block.

  2. Open the empower® Library.

  3. Navigate to the storage location of the required content block.

  4. Double-click on the content block to insert it.

    The content block is inserted into your document.

If a condition is applied on content blocks from the empower® Library, this condition must entirely encompass the content block.

Important

If you insert content blocks from the empower® Library, the content block can be manually updated when it is updated in the empower® Library.

If you do not want the content block to be updated, follow the instructions under Add Linked Content Blocks.

Save Template to Library

If you have finished the creation of your automated template, you need to save it to the empower® Library.

It will then be available for all users who have permissions to the folder it is saved in.

To do so, follow the following steps:

  1. Click on the lower part of the split button Library (Figure 264, “Button Library).

Figure 264. Button Library

Button Library

  1. Here, choose the option Save (Figure 265, “Option Save).

    A drop-down menu opens.

Figure 265. Option Save

Option Save

  1. In the drop-down menu, choose the option Automation Template (Figure 266, “Saving Dialog” (1)).

  2. Then, click on the button Save as (Figure 266, “Saving Dialog” (2)).

Figure 266. Saving Dialog

Saving Dialog

  1. Navigate to the location in the library where you want to save the automated template.

  2. Type in a name in the input field (Figure 267, “Save Automated Template” (1)).

  3. Click on the button Save (Figure 267, “Save Automated Template” (2)).

    1. If you are overwriting an existing template, click on the button Overwrite.

Figure 267. Save Automated Template

Save Automated Template

If you save an automated template as a normal Document Template, all automation features are lost.

A dialog box opens (Figure 268, “Dialog Box – File Format”).

Figure 268. Dialog Box – File Format

Dialog Box – File Format

If you save a filled-in automated template as an automated template again, the automation features would not work as expected.

A dialog box opens (Figure 269, “Dialog Box – Filled-in Template”).

Figure 269. Dialog Box – Filled-in Template

Dialog Box – Filled-in Template

Was this article helpful?

/

Comments

0 comments

Article is closed for comments.