You can assign actions to controls and menu items that are meant to perform an action.
You can assign actions to hyperlinks, buttons, list items, image widgets, and menu items. Some actions support only one instance of the action, while others support multiple instances of the action. For example, for actions assigned to a menu item, you can add only one "exit" action, while there can be any number of "operation" actions.
Controls that support actions accept the drag and drop of an action onto the control. Additionally, the Property page for controls to which you can assign actions displays a subsection called Actions. An item that been assigned an action will have the action decorator attached to its display . You can also drag a mobile business object, or operations, from the Workspace Navigator onto any control that supports an action, and it will create the action for the mobile business object and action for operations.
Choose from these actions:
- Alert – indicates that a predefined event has occurred, or that an error has occurred.
Note: The "question" alert is unique in that the user has a choice. Any actions listed after the question are executed as a Yes/OK answer while No/Cancel stops all actions from executing.
- Connection – navigates to another screen.
- Exit – directs the client application to quit.
Note: There can be only one Exit action on the action list, and it must be the last action on the list.
- Logout – logs the user out of the client.
Note: There can be only one Logout action on the action list, and it must be the last action on the list.
- Persist – works with user-created variables, which allows users to save values from the screen controls or to set values on variables when the action is performed.
- Refresh – triggers a refresh of the current screen based on updated data.
- Operation – takes the controls on the screen and submits them to a mobile application for insert, update, and delete actions.
- Synchronize – performs synchronization on the selected mobile application. The synchronization action allows you to filter data by setting the synchronization parameters for the selected mobile business object.
- Tab Activation – brings a specified tab to the forefront.
- Save Context – allows the user to maintain context among screens when switching between screens.
Note: The screen you add the Save Contect action to must have at least one table or one list detail control.
- BlackBerry PIM – this actions is displayed on the Palette only for the BlackBerry platform. Add this action to integrate BlackBerry PIM applications such as calendar, address book, tasks, and memo on the device application.