> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/common-settings/template-settings.md).

# Template settings

Configure the folder, expiration, entry name, availability, permissions and mandatory properties of a template in Remote Desktop Manager.

The ***Template settings*** section defines how an entry template is organized, who can see it, where it can be used and what the entries created from it must contain. The section is available for every entry type and for folders, only when editing a [template](https://docs.devolutions.net/rdm/ribbon-menu-bar/administration/templates.md) or the [default settings](https://docs.devolutions.net/rdm/ribbon-menu-bar/administration/templates/local-default-settings.md) of an entry type. It is not shown when editing a regular entry, nor for vault templates.

In the properties of the template, select ***Common*** – ***Template settings***.

When editing the default settings of an entry type, only the ***Entry name*** setting of the ***Usage*** group is shown. For template groups, only ***Template folder***, ***Description*** and the ***Permissions*** group are shown.

### Template settings

<table><thead><tr><th width="220">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Template folder</strong></em></td><td>Folder in which the template is listed. Select an existing template folder or enter a new name.</td></tr><tr><td><em><strong>Description</strong></em></td><td>Description of the template, shown to help users choose a template.</td></tr><tr><td><em><strong>Expiration mode</strong></em></td><td><p>Defines the expiration date of the entries created from the template:</p><ul><li><em><strong>Configured date</strong></em>: the expiration date set in the <a href="https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/common-settings/description.md">Description</a> section of the template is used. The date, or <em><strong>Not configured</strong></em>, is shown below the setting. This is the default value.</li><li><em><strong>Expires in</strong></em>: the entry expires after the number of <em><strong>Months</strong></em> (0 to 60) and <em><strong>Days</strong></em> (0 to 999) entered, counted from the day the entry is created.</li></ul></td></tr></tbody></table>

### Usage

<table><thead><tr><th width="220">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Entry name</strong></em></td><td>Defines the name of the entries created from the template: <em><strong>Unchanged</strong></em> (the template name is not used), <em><strong>Template name</strong></em> or <em><strong>Custom</strong></em> (enter the name in the field that appears). <em><strong>Unchanged</strong></em> is not offered for playlist templates.</td></tr><tr><td><em><strong>Keep template host on quick connect</strong></em></td><td>Keeps the host of the template when the template is used with Quick connect, instead of replacing it with the host entered by the user.</td></tr><tr><td><em><strong>Port usage</strong></em></td><td>Defines which port is used when the template is applied to another entry, for example with a host entry or when opening an entry with a template: <em><strong>Use default port</strong></em>, <em><strong>Use entry’s port</strong></em> or <em><strong>Use the template’s port</strong></em>. The default value is <em><strong>Use default port</strong></em>.</td></tr></tbody></table>

### Availability

Defines where the template is offered. All the options are selected by default.

<table><thead><tr><th width="220">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Available in Add Entry</strong></em></td><td>Lists the template in the window used to add a new entry.</td></tr><tr><td><em><strong>Available in Macros/Scripts/Tools</strong></em></td><td>Lists the template in the <em><strong>Macros/Scripts/Tools</strong></em> of the entries, to open an entry with the settings of the template. Shown for session templates only. See <a href="https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/add-a-template-as-a-custom-tool.md">Add a template as a custom tool</a>.</td></tr><tr><td><em><strong>Available in host entry</strong></em></td><td>Lists the template in the templates that host entries can use. Shown for session templates only. See <a href="https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/multiple-types-connections/host-with-templates.md">Host with templates</a>.</td></tr><tr><td><em><strong>Available in Quick Connect</strong></em></td><td>Lists the template in Quick connect. Shown for session templates only.</td></tr></tbody></table>

### Permissions

The group is shown for shared templates; it is not shown for local templates.

<table><thead><tr><th width="220">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>View</strong></em></td><td><p>Defines who can see and use the template:</p><ul><li><em><strong>Default</strong></em>: every user who can use templates.</li><li><em><strong>Custom</strong></em>: only the users and user groups selected. Selecting <em><strong>Custom</strong></em> opens the selection window; select the link that lists the current selection to change it. At least one user or user group is required.</li><li><em><strong>Disallowed</strong></em>: the template is hidden.</li></ul><p>Users with the permission to view or use all entry templates see the template whatever this setting is.</p></td></tr></tbody></table>

### Mandatory properties

Lists the properties that users must fill in on the entries created from the template. The entry cannot be saved until every mandatory property has a value that respects its length limits.

<table><thead><tr><th width="220">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Add</strong></em></td><td>Opens the <em><strong>Mandatory property</strong></em> window. Select the <em><strong>Property</strong></em> and, for text properties, select <em><strong>Limit property length</strong></em> to enter a <em><strong>Minimum length</strong></em> and a <em><strong>Maximum length</strong></em>. The minimum length cannot be greater than the maximum length.</td></tr><tr><td><em><strong>Edit</strong></em></td><td>Modifies the selected mandatory property.</td></tr><tr><td><em><strong>Delete</strong></em></td><td>Removes the selected mandatory property, after confirmation.</td></tr></tbody></table>

The list shows the ***Property***, the ***Minimum length*** and the ***Maximum length*** of each mandatory property.

#### See also

* [Templates](https://docs.devolutions.net/rdm/concepts/intermediate-concepts/templates.md)
* [Creating templates](https://docs.devolutions.net/rdm/ribbon-menu-bar/administration/templates/creating-templates.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/common-settings/template-settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
