Skip to main content

replaceAction()

Last updated 7/02/2025

The

replaceAction()
is a function on the
Five
object that replaces an action on a dashboard. The chosen action will replace the action in the dashboard area that the function is being run from. You can use the
previousAction()
function and set the
revertSelect
parameter to
false
to return to the action that was replaced.


info

You can find an example on

replaceAction()
in our How to Guides.


Available

Client

Function Signature
replaceAction(actionId: string) : void;

ParameterTypeDescription
actionID
stringThe action ID for the action being replaced

Examples

replaceAction()