You are here: Mobile > Custom mobile app > Offline capability > Specifying a transition effect for an action manually

Specifying a transition effect for an action manually

You can manually specify a transition for an action, if it is not on the supported actions list in Transitions effects for actions. The transitions are available only for custom mobile apps that are built using the Pega 7 Platform.

  1. Click the View properties icon to open the Cell Properties panel for a user interface control, for instance, a button.
  2. Click the Actions tab.
  3. Click Create an action set.
  4. Click Add an action.
  5. Click All actions and Run script.
  6. In the Function Name field, enter the function name enclosed in quotation marks: "pega.desktop.setNativeTransition".
  7. Click the Add a row iconto add a parameter row.
  8. In the Value field, enter the text that corresponds to the transition that you want, enclosed in quotation marks:
  9. Click Submit.