# Resources: Metadata templates

JMap Server allows you to define metadata templates to document spatial data sources directly in JMap Admin. Once the template has been defined, you can associate it to certain data sources and enter all the information, which users can then easily view in JMap’s applications. If you already use a metadata management system that can be accessed in a browser, you can also create a direct link between certain layers and this system.

You can create as many metadata templates as you want.

The **Metadata templates** section in **Resources** displays a table that shows the templates configured in the server. In this section you can [create](#creating-a-metadata-template) a new template, access the configuration interface of a template by clicking on its name, and grant [permissions](#metadata-model-permissions) or delete the templates you select in the table.

## Creating a metadata template

Click on **Create** to create a new template. The interface shows the following options.

<table data-header-hidden><thead><tr><th width="166.5"></th><th></th></tr></thead><tbody><tr><td>Name</td><td>Enter a name for this template. Template names must be unique.</td></tr><tr><td>Default language</td><td>Among the languages available for the metadata template, choose the default language that will be used when the requested language is unavailable or when translations are missing.</td></tr><tr><td>Available languages</td><td><p>Select one or more languages that will be supported for this metadata template. </p><p>All text elements in the template's configuration (section and field names, field values) will have to be translated into each supported language. </p><p>You must select at least one language.</p></td></tr><tr><td>Section name</td><td><p>You can define one or more metadata sections. </p><p>Enter a name for the current section. </p><p>Click on <img src="/files/zSKIWMGunX4vlxyB2TJ3" alt="img"> to add a new section. </p><p>Click on <img src="/files/GGXoQyVgFMrmmOuLzLXL" alt="img"> to delete a section.<br>Click on <img src="/files/XmII5mxaiBXXZPiBAmpy" alt=""> to move the section up or down.</p></td></tr><tr><td>Label</td><td><p>Enter a label for the field. </p><p>The label text will be displayed in the metadata entry window and in the consultation interface.</p><p>Click on <img src="/files/zSKIWMGunX4vlxyB2TJ3" alt="img"> to add a new field. </p><p>Click on <img src="/files/GGXoQyVgFMrmmOuLzLXL" alt="img"> to delete a field.<br>Click on <img src="/files/XmII5mxaiBXXZPiBAmpy" alt=""> to move the field up or down.</p></td></tr><tr><td>Type</td><td>Select the type of field. The following types are available: <br><strong>TEXT</strong>: Alphanumeric data entry field on a single line. <br><strong>TEXTAREA</strong>: Data entry field spanning multiple lines to allow for longer text.</td></tr><tr><td>Mouseover</td><td><p>By selecting this option, the field value will be displayed in the mouseover bubble when a layer is pointed in the layer bar of JMap Server applications. </p><p>This bubble presents a summary of a layer's metadata.</p></td></tr></tbody></table>

## Metadata template permissions&#x20;

You access the **Permissions** section from the **Permissions** button in the **Metadata templates** section or from the detail interface of a template.&#x20;

This section has two tabs: **Permissions** and **Owners**. Owners are the only ones who can manage administrative permissions for the metadata template, manage the list of owners, and delete it.&#x20;

A list of users and groups with permissions is displayed in the Permissions section. Press ![](/files/Wv4IHtF5wJkbjm3vwjkh) to add new users or groups.&#x20;

{% hint style="info" %}
The available users and groups are configured in the JMap Server section of JMap Admin. Refer to the [User and Groups](/e/administrator/jmap-server-administrator-manual/jmap-server/security/users-and-groups/user-managers.md) section for more information on user management in JMap.&#x20;
{% endhint %}

There are only administrator permissions for metadata models.

<table data-header-hidden><thead><tr><th width="171"></th><th></th></tr></thead><tbody><tr><td>Access metadata template</td><td>Allows an administrator to view detailed template information.</td></tr><tr><td>Administrate metadata template</td><td>Allows an administrator to modify the template configuration.</td></tr></tbody></table>


---

# 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-jmapserver-lima.k2geospatial.com/e/administrator/jmap-server-administrator-manual/resources-metadata-templates.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.
