OptionalmessageAn optional explanatory message to display at the top of the prompt
Add an information text label to the prompt. Returns true if item successfully added. If item cannot be added, check action log of details of the error, typically it is because of issues like a duplicate id value, or missing parameters.
Identifier. Should be unique to the items in the prompt.
User-facing description.
Optionalsubtitle: stringOptional additional explanatory text.
OptionalsymbolName: stringOptional SF Symbol name to display as an icon.
Create new instance.
Displays the prompt. Returns true if the user selected one of the item, false if cancelled without making a selection.
StaticcreateCreate new instance.
Select prompt allow the creation and display of custom dialogs which prompt the user to select from a list of options. The prompt is searchable to filter the list, and keyboard navigable. This is a great option if you need to make a selection from a long list of items.
Example