a!recordFilterChoices() Function
This function cannot be used with Custom Record Field Expressions. It can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

a!recordFilterChoices( choiceLabels, choiceValues )

Creates choices of a user filter for an expression-backed record.

See also: Record Type Object

Parameters

Keyword Type Description

choiceLabels

List of Text String

The list of text to be displayed to the user as the filter choices.

choiceValues

List of Variant

The list of values associated with the available choices.

Usage considerations

To use this function in your record type, see User filters for record types that use 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.

Example

1
2
3
4
=a!recordFilterChoices(
  choiceLabels: {"Active", "Inactive"},
  choiceValues: {1, 0}
)
Open in Github Built: Fri, Jul 01, 2022 (02:26:32 PM)

On This Page

FEEDBACK