# Custom template

When a global template is to be used in a database, there first needs to be created a custom template/version of the global template. This can be a copy of the global, or one can make changes that are needed.

### How to create a custom template

1. Open the Export templates page. (Setup > Settings > Export templates)
2. Select the global template to be used as base from the selection box in the top right corner.
3. &#x20;Change the name of the template
4. Save

The template is now ready to be used. The name used will be available when selecting to do an export.

### Edit custom template

It is also possible to edit the template. This can be the case if the global has some fields that are to be defined for each company.

Make any changes needed, to see more on how to do this, read the pages about the [template editor](/help/moment-by-topic/integrations/file-exports/export-templates/template-editor.md) and [edit template](/help/moment-by-topic/integrations/file-exports/export-templates/template-editor/edit-template.md).


---

# 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://docs.milientsoftware.com/help/moment-by-topic/integrations/file-exports/export-templates/custom-template.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.
