Overview

This action allows you to change the state of a page from its current state to a new state. Valid states include create, edit, and display. Valid page components for this action are:

  • ModeSwitcher – within the onSave and onCancel properties, use the successActions properties.
  • ActionButton – use the onClick property.

Properties

PropertyDescription
actionNameSet this to “changeMode” to use this action.
parametersAdditional properties for the action.
modeValid options include “create”, “edit”, and “display”.

Example

Add the following to your component:

{
  "actionName": "changeMode",
  "parameters": {
    "mode": "display"
  }
}