Adding content controls to templates

Applies to JungleDocs for SharePoint 2010-2019.
For a similar tutorial for JungleDocs for Office 365, click here.

Content controls can be a great way to automate your document creation. In JungleDocs you will find that Sample Documents will already include content controls so that you can start automating your documents with ease. It is also possible to manually add your own content controls to a document template. In this tutorial, you will learn how to do this.


To add a content control to a template

1. Open your Word template (.docx format).

2. Turn on the Developer tab in Word: click File > Options > Customize Ribbon, then check the Developer box and click OK.

3. Select one of the three types of content controls to be inserted into the template.

  • Plain Text Content Control is limited to content that cannot contain any formatting. In other words: only plain text. However, you can change the formatting by making changes to the surrounding formatting.
  • Rich Text Content Control can contain custom formatted text or other items, such as tables, pictures, or other content controls.
  • Picture Content Control can fill the content control with a single picture. 
Note

Microsoft Office 2010 has a 64 character limit for the Tag field. If your tag contains more than 64 characters, use MS Word 2013 or later version for template configuration.

4. Click Properties to open content control properties.

5. Enter the Tag field value. It can a SharePoint column name, a formula or a function. For example, you can enter BaseName to fill the name of this document without extension.

Note

We recommend entering the same value in the Title field, too. This way, you will be able to see the Tag field value without opening content control properties.

6. Save the document template.

7. Open JungleDocs and run a rule that uses this template to create a new document. In the example, we've entered the Name field value: DOC-001.

Here's the resulting document, with the content control processed already.


Adding content controls from a sample document

A sample document is a quick way to set up your template so that it is automatically populated with SharePoint data. It is a document that contains all the content controls that are available for the related content type or list.

1. In the JungleDocs dashboard, click on the drop-down menu arrow next to the rule containing the template you want to edit, and click Edit From Existing rule (or Edit Base rule for rules in the New tab, or Edit Report rule for rules in the Reports tab).

2. In the Document template section, click Generate sample document.

A sample document is opened. Leave it for now and go to the next step.

3. In the rule settings, click Edit template.

4. Copy the content controls you need from the sample document to the template.

You can also select a content control, grab it by the three-dot icon, then drag and drop into the template.

5. Save template changes.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us