# DocMerge template parts

Kyloe DocMerge allows you to bring together a variety of documents and create a single output document in a fixed order.\
Each section of the template is made up of a part. Within a template there may be many parts, all requiring slightly different interaction.

The titles of each part can be configured when building the template in the Kyloe DocMerge Builder. Your template wording may differ from the examples below.

Depending on the setup in each template some of the parts may be required, others may be optional.

**Before the final document can be assembled (**[**stapled**](/kyloe-awesomedocs/docmerge/user-guide/staple-the-docmerge-document.md)**) every part must show a green tick beside it.** If a yellow triangle is displayed additional action is required before you can complete the stapling process.

{% hint style="info" %}
Each template is constructed in the Kyloe DocMerge builder application and cannot be adjusted within Bullhorn.
{% endhint %}

There are 6 part types in Kyloe DocMerge:

1. [**Fixed file part**](#fixed-file-part) allows a single file to be uploaded directly to the template.
2. [**File part**](#file-part) allows a user to select from a file stored in Bullhorn.
3. [**Local file part:**](#local-file-part) allows the user to add their own PDF or Image file to the stapling process.
4. [**Template part**](#template-part) adds a document generated by a Kyloe AwesomeDocs template.
5. [**To-many part**](#to-many-part) allows the user to build a repeating section of the merged document based on records in Bullhorn.
6. [**Certification part**](#certification-part) allows the inclusion of any credential files, such as driving licence, passport, right to work etc.

#### Fixed file part

<img src="/files/cWBB6VSDeSRk61R0KYgX" alt="Screenshot of fixed file part." width="563">

The Fixed file part **contains any files that have been uploaded to the template directly**. These are not adjustable within Bullhorn and will always be included in the final document.

#### File part

<img src="/files/tOWeVfsmRCvsWhtNDLeY" alt="Screenshot of file part." width="563">

The File part **asks you to select one (or more) files from the related record to bring into the final document**. Select files from the drop-down list. Remove them again by clicking the trash can.

#### Local file part

<img src="/files/XM9AN8dTFcihN8hfX5XF" alt="Screenshot of local file part." width="563">

The Local file part **allows you to upload a single file from your local machine**. Once uploaded a Remove File option appears to delete it from the template. Uploading a file will replace any previously-uploaded file.

#### Template part

<img src="/files/jfmrsEARa5hoj89Frnf7" alt="Screenshot of template part." width="563">

The Template part **allows the inclusion of Kyloe AwesomeDocs templates**. These can be generated directly within Kyloe DocMerge.

Select the desired AwesomeDocs template from the list and click the Create button. After a short while the create button will be replaced with an Edit button.

Depending on the template setup you may not be allowed to edit this document after it is generated. This is configured within the DocMerge template. Conversely you may be required to edit the document. If so you will need to click the edit button and make a change to the Word document that is presented to you.

Once you have made any changes to the Word document click the save button:

<figure><img src="/files/r92CGZBM5pCVXijrz63S" alt="" width="95"><figcaption></figcaption></figure>

{% hint style="info" %}
Do not use the File menu from within Word as this will save the document locally and disconnect the document from Kyloe DocMerge.
{% endhint %}

Once a change has been saved, a green check should appear in the template part.

#### To-many part

<img src="/files/uDm6yRoluKyTsC8NJE8X" alt="Screenshot of to-many part." width="563">

This slightly oddly-named part **allows the selection of sub-records from the main entity.** These are used to build a repeating section of the merged document.

{% hint style="info" %}
Currently this part is restricted to candidate refrences only.
{% endhint %}

#### Certification part

<img src="/files/fXS4sUTZObUH6A9aO4ft" alt="Screenshot of certification part." width="563">

The Certification part **allows the inclusion of any credential files**, such as driving licence, passport etc.

Depending on the settings in the template the appropriate credentials may be selected automatically. If not, select each item from the drop-down list to add to the document. Clicking the trash can icon will remove the associated credential and make it available for reselection.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.kyloepartners.com/kyloe-awesomedocs/docmerge/user-guide/docmerge-template-parts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
