New Word template to Kameleon (long formula)
Convert an existing Word document with a custom layout, header, footer, styles, and metadata into a Kameleon document template from scratch.
Prerequisites
Before creating the template, review the existing Word document against your current Kameleon setup:
Logo: Does the document use the same logo defined in Companies?
Footer: Does the document use the same footer defined in the Company unit?
Layout template: What styles, margins, and color scheme does the document use?
Meta fields: Which meta fields appear in the document or need to be transferred to SharePoint?
Document template: Does the document include ready-made body text?
If the template differs completely from your other Kameleon templates, you can also upload it as a standalone document template with all formatting baked in. The decision flow below shows when a new layout template is needed.



Scenario in this example
We want to create a document template that uses a different layout from our existing templates:
It has a custom footer.
The header contains custom meta fields (author’s department/name and order number).
Body text is indented 2.3 cm from the margin, and headings have no numbering.

Step 1: Create meta fields
Create the required meta fields first so you can insert them into the layout template.
In Kameleon Hub, create a new meta group for author fields and add a combined metafield named
department_and_name.Create the
Confirmation_numbermeta field.
Step 2: Create the layout template
Create a new layout template using the Content Tool (or in Kameleon Hub under Layout templates).
Open an existing layout template in Word using Content Tools (Browse and open content > Layout templates).
Select Save as new > Save as layout template to create a new layout template from the active document (see Layout templates in Content Tool).
-
Update the document styles (for example, body text indentation and heading numbering).


-
Add the custom Footer directly to the layout template.

-
Update the meta fields in the header:

Delete unnecessary content controls and insert
Confirmation_numberanddepartment_and_name.-
If users should be able to toggle page numbers when creating a document, insert the
dFieldpagesbookmark in the First Page Header via Placeholders & Logic > Insert other field > Pagenumber.
Select Save to portal in Content Tool to upload the updated layout template.
Step 3: Create the document template
Open your old Word document (which has the desired body text, even if its headers, footers, fonts, and styles are outdated) and convert it into a document template.

In Content Tool, select Save as new > Save as document template (see Document templates in Content Tool).
Enter the document details and select the target document category and layout template.
-
Review the newly opened document content. Headers and footers are omitted here because they are inherited from your layout template (e.g.,
Order_layout) when a user creates a document, while fonts and styles follow the layout template.
-
Clean up the content as needed (for example, remove extra leading paragraphs and apply the body text style).

Select Save to portal in Content Tool to save the changes.
Step 4: Configure document metadata
Because this template uses custom metadata, configure its settings and default values in Kameleon Hub (see Create and configure document templates).
-
Open the document’s definitions in Kameleon Hub and configure each tab:
General: Verify basic template settings.
Layout: Disable automatic footer insertion if the layout template already includes a custom footer.
Metafields: Select which meta fields are shown in the document and define their default values.
-
Open the document in Content Tool if you want to place meta fields inside the document body.

Select Save to portal in Content Tool to save the changes.
Step 5: Test and publish
Switch Kameleon to draft mode (unpublished templates are only visible in draft mode).
Select the new template, fill in the metadata fields, and create a test document.
Adjust the layout template, meta fields, body content, or template settings if anything needs correction.
When everything looks right, publish your changes so the template becomes available to end users.
Result
Your legacy Word document is converted into a standardized Kameleon template with its own layout, styles, custom header/footer, and metadata prompt, ready for end users in Word.