Templates and content controls
You can create your own templates and use existing templates, for example, letter templates and information templates. You can also retrieve and insert case, document, or contact information into a template or document, or to update registered document information.
Each template includes content controls. Content control represents an information field of a case, document, or contact (party); for example, (Case, Case handler) Name 1, (Document) Title, and so on. When you merge a template with a certain case or document, content controls extract the related values from the case or document. For example, (Case, Case handler) Name 1 can obtain value Ann, (Document) Title can obtain value Application form, and so on.
Create a new template
- Create a new Word document.
- Type the common text and add content controls.
- Click Files > Save As. The Save As dialog is displayed.
- Select a location for your template.
- In the Save as type field, click > Word Template, and click Save.
Add content controls
In WorkZone for Office you can add content controls for the custom field types Date, Text, Decimal, and Integer.
- Select the Insert tab.
- In the Content properties group, click Case or Document to add content controls with case or document properties. Click Case contact or Document contact to add content controls with case party or document party properties.
- If the property name is followed by (code), for example, Case handler > Contact type (code), it refers to the three-letter code identifying the case handler.
- If the property name is followed by (text), for example, Case handler > Contact type (text), it refers to case handler's full name.
There are two additional options how you can benefit from content controls:
Insert multiple information for multiple parties with the same role (the repeating content functionality)
This is another way how you can use and benefit from content controls. Each case or document can have multiple parties with a specific role, for example, Sender or Recipient. If you want to extract information from multiple parties and insert it into a content control, you must use a repeating content control.
Important:
- A party on the case or document, content control and repeating content control must have the same role in order to insert repeating information.
- Apart from parties, you can also repeat text, images, and other types of information that is surrounded by a repeating content control.
- For the correct operation, it is strongly recommended that you follow the instructions in the order listed.
-
On the Insert tab, in the Content properties group, click the content control from the relevant group, and select a property you want to insert. For example, if you want to insert names of all parties with the Sender role, you must add content controls Name 1 and Name 2 with the Sender role.
- Use the left mouse button to select the content controls on the template.
- Click Document contact or Case contact, open the Repeating content menu and select the required role.
- When you then merge, content controls will be populated with relevant information, each on a new row.
Consider a situation when you need to send identical letters to different recipients. At the same time, you want to include specific information for each recipient, such as name, address and so on. To generate a separate text for each recipient, your template must meet two conditions:
- The template contains at least one content control with the Recipient role (without a repeating content control).
- The case or document you merge the template with has at least two parties with the Recipient role.
When you click Merge, a new document is created. Text from the template with the specific values for each recipient will be inserted on a new page.
Merge case, document, and contact information
- Open the relevant template.
- On the Home tab, click Merge > Merge To Document.
Note: If you merge contact’s address information, which is protected, the address information will not be inserted into the document.
Remove case, document, and contact information
- On the Home tab, click Merge > Clear Merge.
Update registered document information
You can update registered document properties by editing the contents of content controls inserted into a template or document:
- Document title
- Letter date
- Reply deadline
For example, if you change the document title in the Title content control, the document title will automatically be updated in the Document Registration pane.
Format of content control titles
The format of content control titles is as follows:
(ItemType,[Relation],[Type]) Label (format)
(Case) Type
(Case, Casehandler) Name1
(Case, Caseparty) Name1
(Document, Recipient, Date) Birthday
(Case, Primary Contact, Information) Hobby