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

# UI settings

> Reference for Atoti Limits UI settings, covering required module settings for server name mapping and available application servers, and optional settings for REST endpoints, scopes, and audit trail colors

## Module settings

A module is designed to operate on top of an existing server. This interaction is configured through the **Module Settings**, and because this is specific to each setup, these do not come with a default value.

### Cube-specific module settings

Atoti Limits does not require cube-specific module settings anymore as of version 3.3.0.

### Limits module settings

<table><thead><tr><th>Key</th><th>Type</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td><code>serverNameToServerKey</code></td><td><code>Record\<string, string></code></td><td>Maps an application server name as known by the Limits server to its server key as known by the UI.</td><td><code>\{"FRTB": "FRTB", "MarketRisk": "MR"}</code></td></tr><tr><td><code>availableApplicationServers</code></td><td><code>Array\<string></code></td><td>An array of application server keys which will connect to the limits server. A server key not listed in this setting is considered excluded from the scope of the module.</td><td><code>\["FRTB", "CVARC"]</code></td></tr></tbody></table>

## Limits settings

<table><thead><tr><th>Key</th><th>Type</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td><code>auditTrailNodeColors</code></td><td><code>\{green: string\[]; blue: string\[]; red: string\[]}</code></td><td>Maps a color to a list of statuses. This helps classifying statuses in the limit and exception audit trail panel.</td><td /></tr><tr><td><code>limitsRESTEndpoint</code></td><td><code>string</code></td><td>The service part of the URL of Atoti Limits REST services.</td><td><code>/limits/rest/v2</code></td></tr><tr><td><code>limitsServerName</code></td><td><code>string</code></td><td>The server key for the server hosting Atoti Limits.</td><td><code>"LIMITS"</code></td></tr><tr><td><code>restrictedScopes</code></td><td><code>Record\<CubeName, Array\<\{dimensionName: string, hierarchyName: string, namePath: string\[]}>></code></td><td>The list of scopes which will not appear in the scope selector when adding new limits.</td><td><code>\{StandardisedApproachCube: \[\{dimensionName: "Booking", hierarchyName: "Books", namePath: \["AllMember", "CM\_OILGAS", "BK\_CSR\_1"]}]}</code></td></tr><tr><td><code>maxScopeMembersQueryResult</code></td><td><code>number</code></td><td>The maximum number of members to retrieve per scope when creating limits.</td><td><code>1000</code></td></tr></tbody></table>
