> For the complete documentation index, see [llms.txt](https://docs.openiam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openiam.com/administration-guide/platform/metadata-types.md).

# Metadata types and elements

What a metadata type is, what its grouping decides, how its elements become fields on a screen, and what each flag on it actually changes.

**Applies to:** OpenIAM 2026.9.2

## What this is, and when you need it

Nearly every drop-down in OpenIAM that offers a *kind of something* — a user type, a job code, a phone type, the type a role is created as — is reading a **metadata type**. This page explains what those records are, how a metadata type differs from a **metadata element**, and what each setting on a type changes.

Read it when a drop-down is offering a value you do not want, when you need a new kind of value in one, or when you are deciding where a custom attribute should live. You do not need it to fill in an ordinary form: metadata is what the form is built from, not something you touch while using it.

For the complete list of groupings and their identifiers, see [Enumerated value reference](https://docs.openiam.com/administration-guide/reference/enums.md#metadata-type-groupings). This page explains what they do; that page lists them.

## At a glance

| Piece            | What it is                                                                   | Where you manage it                                                                                |
| ---------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| Metadata type    | One choice in a drop-down — `SECURITY MANAGER`, `Mobile`, `Employee`         | Webconsole → Metadata Types → MetaData Type Search                                                 |
| Grouping         | The bucket a type belongs to, which decides which screens offer it           | The **Metadata Grouping** field on the type                                                        |
| Metadata element | A custom attribute defined under a type — its name, data type and validation | The **Metadata Elements** section of the type, or Webconsole → Metadata Elements → MetaData Search |
| Page template    | Which elements appear on which screen, in what order                         | Webconsole → Page Templates                                                                        |

## What a metadata type is

A metadata type is a single named value that the product treats as reference data. Three things matter about it:

* **Its name**, which is the identifier stored on whatever carries it. A user whose job code is `SECURITY MANAGER` stores that type's identifier, not the words on the screen.
* **Its display name**, held once per supported language. This is what a reader actually sees, so the same type reads as `SICHERHEITSMANAGER` to a German-speaking administrator. A type with no display name in the reader's language falls back to its name.
* **Its grouping**, which decides where it is offered.

A type is not a free-form tag. Something in the product has to look for its grouping before the type appears anywhere.

## What the grouping decides

The grouping is the single most important field on a metadata type, because it is what connects the record to a screen. `JOB_CODE` types fill the **Job Code** drop-down on a user; `PHONE` types fill the type drop-down on a phone number; `ROLE_TYPE` types are offered when a role is created.

Two consequences follow, and both surprise people:

* **Changing a type's grouping moves it to a different drop-down.** There is no separate "where does this appear" setting to adjust.
* **A grouping with no screen behind it will never show your type anywhere**, however correctly the type is filled in. Several groupings exist for connectors and provisioning rather than for the interface.

{% hint style="info" %}
Some groupings are reserved by the product and cannot take new types — the grouping picker shows them but does not let you select one. You can still see which grouping an existing type belongs to.
{% endhint %}

## The flags on a type

| Flag                                | What it changes                                                                                                    |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **Is Active**                       | A legacy flag with no single meaning. Almost nothing reads it; do not rely on it to hide a value.                  |
| **Creatable**                       | Whether the type is offered in drop-downs at all. See below.                                                       |
| **Represents Binary Data**          | The type's values hold binary content rather than text.                                                            |
| **Used for SMS One-Time-Passwords** | Offered only on `PHONE` types: marks which phone number an SMS token is sent to. Only one phone type can carry it. |

### Creatable, and what clearing it does

Clearing **Creatable** retires a type from the interface. It is then offered in **no** drop-down, neither in the Webconsole nor in SelfService. This is how you take a value out of circulation without deleting it.

What clearing it does *not* do:

* **It does not change anything that already carries the type.** A user whose job code is a retired type keeps that job code, and it still reads correctly wherever the value is displayed.
* **It does not block the value entirely.** A retired type can still be set through the API, a Groovy script, a synchronization or a reconciliation. Only the drop-downs stop offering it.

The checkbox appears only on the groupings where it governs something — the user profile vocabularies, the mail template type, and the type a group, role, organization or resource is created as. On any other grouping the setting would change nothing, so it is not offered.

{% hint style="warning" %}
Retiring a type a user already holds means the field on that user's edit form has nothing to show: the drop-down no longer contains their value, so it renders empty. The stored value is intact, but anyone editing that user sees a blank field. Retire a type when you want to stop *new* use of it, and expect to clean up existing holders separately.
{% endhint %}

## Metadata elements are the attributes under a type

Where a metadata type is a *value*, a metadata element is a *field*. Every element belongs to one type, and you reach them either from the **Metadata Elements** section of that type's page or from the **Metadata Elements** menu. Each element carries:

* **An attribute name and display name** — the key the value is stored under, and the wording shown beside the field, again per language.
* **A data type**, which decides the control the reader gets.
* **Validation** — whether the field is required, and any list of valid values.
* **A static default value**, used when nothing else supplies one.
* **Is Auditable**, which records changes to the value in the audit log.
* **Is Self-Editable**, which decides whether an end user may change their own value in SelfService or only an administrator may.
* **An optional resource**, which brings the field under access control so only entitled administrators see it.

Defining an element does not put it on a screen. That is the page template's job.

## How an element reaches a screen

A **page template** selects which metadata elements appear on a given screen, in which order, and whether each is read-only. A template is bound to a metadata type, which is why a contractor and an employee can be the same kind of object and still be asked for different things.

The chain is worth holding in mind, because a missing field is almost always a break in it:

1. A **metadata type** exists, in the grouping the screen reads.
2. A **metadata element** is defined under that type.
3. A **page template** for that type includes the element.
4. The reader has permission to see it, if the element is tied to a resource.

## Changes do not appear instantly

Metadata is cached, because nearly every screen reads it. After you save a type or an element, the change reaches the running system when the cache next refreshes rather than on your next page load. If a change seems not to have taken, wait and reload before assuming the save failed.

## When it goes wrong

* **A value you added is not in the drop-down.** Check the grouping first — it is almost always a type filed under a grouping the screen does not read. Then check **Creatable**.
* **A value you retired is still offered.** The cache has not refreshed yet, or the drop-down is one that searches rather than assigns: search filters keep offering every type, deliberately, so you can still find records that already hold one.
* **A field is missing from a form.** Walk the chain above in order. An element defined but not added to the page template is the most common break.
* **A type will not let you change its name or grouping, and offers no delete.** It is marked sensitive: the product itself depends on it, and the fields that would break that dependency are locked.
* **A type will not delete.** Delete the metadata elements defined under it first.

## Related

* [Enumerated value reference](https://docs.openiam.com/administration-guide/reference/enums.md#metadata-type-groupings) — every grouping and its identifier
* [The access model](https://docs.openiam.com/administration-guide/access/access-model.md) — how the types a role, group or organization is created as fit the wider model
* [Languages and localization](https://docs.openiam.com/administration-guide/platform/localization.md) — how the per-language display names are maintained


---

# 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.openiam.com/administration-guide/platform/metadata-types.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.
