> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# preserveEntityFolderContentRole

> Retains the embed user's existing entity folder content role.

If `true`, the embed user's existing entity folder content role is retained from the previous session. For example, if a user is promoted from `VIEWER` to `EDITOR` in one session, the next time they log in they will retain the `EDITOR` role instead of becoming a `VIEWER` again.

If set to `false` or not provided, Omni will use the latest embed login URL to determine the correct content role.

In the **Embed URL Builder**, this is the **Preserve entity folder content role** field.

## Syntax

```markdown theme={null}
preserveEntityFolderContentRole=<boolean>
```

## Properties

<ParamField path="preserveEntityFolderContentRole" type="boolean">
  Set to `true` to preserve the existing role, or `false` to use the role specified in the current URL.
</ParamField>

## Examples

```markdown title="Example preserveEntityFolderContentRole" theme={null}
preserveEntityFolderContentRole=true
```
