> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/layout-manager/using-the-template-preview.md).

# Using the Template Preview

## The Template Preview is an extremely useful tool for checking and adjusting layout settings in real time before making changes to a document or template.

### Here's an explanation of how you can use the Template Preview:

<figure><img src="/files/nBwxmXE3vrovOyaF6Cp4" alt=""><figcaption></figcaption></figure>

#### Opening the Template Preview:

* You can usually find the Template Preview option in the template editor interface.

<figure><img src="/files/PWQlqptqXdJr9fvFncqS" alt=""><figcaption></figcaption></figure>

#### Selecting the template:

* Select the template whose layout you want to check.
* This can be an existing template you want to make changes to or a new template you want to create.

<figure><img src="/files/Z35flt5djfWVKlydcXC3" alt="" width="186"><figcaption></figcaption></figure>

#### Adjusting the layout settings:

* Change the layout settings as needed. This can include adding, removing or adjusting groups, fields, columns, rows, fonts, etc.

<figure><img src="/files/8bmfRDsVSnV9Tls61Jn0" alt="" width="271"><figcaption></figcaption></figure>

#### Real-time preview:

* As you change the layout settings, the preview updates in real time.
* You can immediately see how your changes affect the look and structure of the template.

#### Interactive customization:

* Take advantage of the ability to interactively customize the layout by moving, resizing, or making other adjustments to elements while checking the effects in real time in the preview.

#### Testing different configurations:

* Experiment with different layout configurations to find the best design for your needs.
* Use the template preview to see how each change affects the final look.

#### Saving and committing changes:

* Once you are happy with the layout, save your changes.
* Depending on the software, you may also be able to find the option to commit your changes directly to update the template for use in other documents or processes.

Using the template preview allows you to make sure your layout meets your desired needs before committing changes. This allows you to efficiently customize the design and structure of your documents and ensure that they meet the desired visual and functional standards.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/layout-manager/using-the-template-preview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
