selectAction()
Last updated 2/02/2026
The
selectAction()
is a function on the Five
object that selects an action to take the place of the current action without
leaving the current menu.
Because the menu context is preserved, the original action is not lost, you can call previousAction() to
return to the action that was replaced.
info
You can find an examples on the following:
- selectAction()andpreviousAction()being used together in our Learning Resources.
- selectAction()in our How to Guides.
Available
Client
Function Signature
selectAction(actionId: string [, recordKey: string] [, pageID: string]) : void;
| Parameter | Type | Description |
|---|---|---|
actionID | string | The action ID for the action being selected |
recordKey | string | Optional, if the action ID is a form based action, you can optionally select a form record using the record key |
pageID | string | Optional, you can optionally specify the pageID to select the associated tab on the form |