When you are creating the user interface and
editing or
adding a control, 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 by using the
Pega Platform.
-
Click the
View properties
icon to open the
Cell
Properties
panel for a user interface control, for instance, a button.
-
Click the
Actions
tab.
-
Click
Create an action set.
-
Click
Add an action.
-
Click
All actions
and
Run script.
-
In the
Function Name
field, enter the function name enclosed
within quotation marks:
"pega.desktop.setNativeTransition".
-
Click the
Add a row
icon to add a parameter row.
-
In the
Value
field, enter the text that corresponds to the
transition that you want, enclosed within quotation marks:
-
"pega.mobile.transitions.MOVE_BACKWARD"
-
"pega.mobile.transitions.MOVE_FORWARD"
-
"pega.mobile.transitions.GO_HOME"
-
"pega.mobile.transitions.NONE"
-
Click
Submit.