--- title: "Static values" slug: "core-literal-value-resolver" updated: 2026-04-16T08:45:30Z published: 2026-04-16T08:45:49Z canonical: "docs.lobstersoftware.com/core-literal-value-resolver" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Static values "Static values" in **Lobster Data Platform/Orchestration** are values that are exclusively and directly defined by the configuration. Borrowing from the term "hard coded" – "Static values" in **Lobster Data Platform/Orchestration** could also be referred to as "hard-configured". The technical basis for a "Static value" in a value configuration is always the same "literal value resolver" (`LiteralValueResolver`), which defines exactly one value (`value`) with one of the following "data types": | ![images/download/attachments/78257927/image2023-1-19_10-4-38-version-1-modificationdate-1674119078829-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-19_10-4-38-version-1-modificationdate-1674119078829-api-v2.png) | - [Boolean value](/v1/docs/en/core-boolean-value-editor) - [Date with time](/v1/docs/en/core-date-time) - [Date range with time](/v1/docs/en/core-date-range) - [Unit](/v1/docs/en/core-unit-value-editor) - [Integer](/v1/docs/en/core-integer-value-editor) - [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) - [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) - [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) - [Static enumeration](/v1/docs/en/core-enum-value-editor) - [No value](/v1/docs/en/core-null-value-editor) - [Class](/v1/docs/en/core-class-value-editor) - [Floating number](/v1/docs/en/core-number-value-editor) - [Long](/v1/docs/en/core-long-value-editor) - [Text](/v1/docs/en/core-text-value-editor) | | --- | --- | Since a specific user interface is displayed for each data type and the selection of the data type for a static value works like the selection of a value resolver (see screenshot), the documentation describes the type-specific characteristics as if they were independent value resolvers. So, for example, when we talk about a [Text](/v1/docs/en/core-text-value-editor), we actually mean a "literal value resolver" for the definition of a text value. The [Static enumeration](/v1/docs/en/core-enum-value-editor) and [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) data types have a special position, because they appear as menu items under "Static values" only if the context of a value configuration refers to a specific enumeration. Then the "literal value" value resolver with a specific user interface is automatically suggested for the specific enumeration type (see [Static enumeration](/v1/docs/en/core-enum-value-editor) or [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor), respectively) and all other options appear in the "Unmatching/Static values" category of the context menu. If an enumeration value is defined in a context as a static value that does not specify a reference to a specific enumeration, the [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) or [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) menu option must be selected, depending on the category of the enumeration, in order to be able to select the desired value from a list of *all* enumeration values for the category. ## Further configuration options for more complex "static" values The following configurations could be called "Static values" in a broader sense, which the "literal value" value resolver does not directly cover: ### Statically defined references to Company accounts or Roles For "static references" to [Companies/Clients](/v1/docs/en/base-company-account) or [Roles](/v1/docs/en/base-role) – e.g. in the context of [Association criteria](/v1/docs/en/core-association-criteria), [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration) or the [Search API](/v1/docs/en/common-search-api) – **Lobster Data Platform/Orchestration** provides designated value resolvers ([Company value](/v1/docs/en/base-company-account-value) and [Role](/v1/docs/en/base-role-value)), which allow a static selection of exactly one instance of the respective entity. Example: | A special custom overview for [Users](/v1/docs/en/base-user) (see [Custom overviews](/v1/docs/en/administration-designer-client-preferences-overview)) should only list [Users](/v1/docs/en/base-user) whose account is linked to a specific role on the one hand and to a specific company on the other hand. The screenshot on the right shows how the corresponding "restriction" can be implemented in the definition of the custom overview: - An AND [Junction](/v1/docs/en/core-rule-junction) combines two instances of the [Entity property rule](/v1/docs/en/core-entity-property-rule). - The first [Entity property rule](/v1/docs/en/core-entity-property-rule) accesses the object property "roles" (`roles`) on the left and searches in the list stored there for a match with the compare value, which is statically defined on the right via the selection in the [Role](/v1/docs/en/base-role-value) value resolver. - The second [Entity property rule](/v1/docs/en/core-entity-property-rule) accesses the [Object property](/v1/docs/en/core-property-resolver) "companies" (`companies`) on the left and searches in the list stored there for a match with the comparison value that is statically defined on the right via the selection in the [Company value](/v1/docs/en/base-company-account-value) value resolver. **NOTE:** The comparison ("==") is considered to be fulfilled if the list contains the compare value. It may therefore contain other values as well. | ![images/download/attachments/78257927/image2023-1-20_13-50-47-version-1-modificationdate-1674219047318-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-20_13-50-47-version-1-modificationdate-1674219047318-api-v2.png) | | --- | --- | **IMPORTANT:** Static references to [Companies/Clients](/v1/docs/en/base-company-account) and [Roles](/v1/docs/en/base-role) should always be made via these value resolvers, if possible, with regard to the interpretation of links in the [Meta exchange](/v1/docs/en/administration-metaexchange) (for the exchange of configurations between systems). Like all other entities, [Companies/Clients](/v1/docs/en/base-company-account) and [Roles](/v1/docs/en/base-role) can also be addressed by ID, i.e. by `Long` value. However, it must always be kept in mind that the IDs of corresponding entities may differ on different systems and that an indirect reference via static [Long](/v1/docs/en/core-long-value-editor) is not adapted to any existing links between IDs. ### Statically defined "Unit number" A statically determined "Unit number" can be defined using the [Calculate value](/v1/docs/en/core-calculate-value-resolver) value resolver with a calculation expression that associates a constant numeric value with the alias of the desired unit. Example: As a static "Unit number", the volume of a *gross register ton* is defined using the [Volume unit](/v1/docs/en/core-volume-unit) "cubic feet" (with the alias `ft3`) previously defined as a user-defined volume unit. By definition, 100 cubic feet is equal to one gross register ton. ![images/download/attachments/78257927/image2023-1-20_13-55-47-version-1-modificationdate-1674219347928-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-20_13-55-47-version-1-modificationdate-1674219347928-api-v2.png) ### Static defined "List" If only "Static values" are configured as entries in a [Create list](/v1/docs/en/core-create-list-resolver) value resolver, the result could be called a "static list". Example: A "static list" of "keywords" defined over multiple instances of the [Text](/v1/docs/en/core-text-value-editor) value resolver are passed as selection options for a context menu: ![images/download/attachments/78257927/image2023-1-20_13-54-24-version-1-modificationdate-1674219265736-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-20_13-54-24-version-1-modificationdate-1674219265736-api-v2.png) ### Static defined "object" Any "statically defined" data object can be created starting from a statically defined text using one of the following value resolvers: - [JSON to object](/v1/docs/en/core-json-decode-resolver) - [Client xml to object](/v1/docs/en/core-client-xml-decode-resolver) - [Server xml to object](/v1/docs/en/core-server-xml-decode-resolver) Example: In a context menu, the options "STOP", "HOLD" and "GO" should appear in connection with an appropriately colored icon in the style of a traffic light. | In the **Root items** parameter of an [Show context menu](/v1/docs/en/core-show-context-menu-actor) event action, the context menu is defined using a "static list object" that contains objects with the "option" and "icon" fields as entries. Starting from a [Text](/v1/docs/en/core-text-value-editor) value resolver that statically defines a suitable JSON structure, the object for the context menu can be immediately and legibly "tailored" in JSON and then generated using the concatenated [JSON to object](/v1/docs/en/core-json-decode-resolver) value resolver. The **Label expression** is obtained from the `option` field. The **Icon expression** is obtained from the `icon` field. The object defined line by line serves as a return value when an option is selected. It could contain further fields. Runtime example: (context menu) ![images/download/attachments/78257927/image2023-1-20_13-5-12-version-1-modificationdate-1674216312976-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-20_13-5-12-version-1-modificationdate-1674216312976-api-v2.png) | ![images/download/attachments/78257927/image2023-1-20_13-53-8-version-1-modificationdate-1674219188961-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-20_13-53-8-version-1-modificationdate-1674219188961-api-v2.png) | | --- | --- |