a!recordFilterChoices( choiceLabels, choiceValues )
Creates choices of a user filter for a service-backed record type.
See also: Record Type Object
Keyword | Type | Description |
---|---|---|
|
List of Text String |
The list of text to be displayed to the user as the filter choices. |
|
List of Variant |
The list of values associated with the available choices. |
To use this function in your record type, see User filters for unsynced record types that connect to a web service.
Since users can save default selections for user filters, try to use expressions that rarely change the choices available. If users save a choice that is not available the next time they load the record, their saved filter selections will be cleared and a warning message will display.
1
2
3
4
=a!recordFilterChoices(
choiceLabels: {"Active", "Inactive"},
choiceValues: {1, 0}
)
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Partially compatible | Can be used with offline mobile if it is loaded at the top of the form. |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
a!recordFilterChoices() Function