Creating an Operation Action

You can create an action based on the operation of a selected mobile business object.

  1. From WorkSpace Navigator, select the operation for which you want to create an action, and drag and drop the operation onto the control.
    Note: You can drop actions only on to controls that accept actions. When you drop the action onto the control, the action decorator appears on the control.
  2. The Operation Action dialog displays and shows the information for the operation.
    Option Description
    Synchronization group Shows the name of the synchronization group that contains the mobile business object that executes the operation.
    Mobile business object The mobile business object with which the operation is associated.
    Operation The name of the operation. You can select a different operation from the drop-down list.
    Place the operation in pending state If this option is selected, the operation is not sent to the server automatically (for both message based and replication based mobile business objects). To synchronize the mobile business object, you must perform the synchronization action or use the synchronization stock screen.

    If this is not selected, the operation is synchronized immediately, automatically.

    Required field alert message This is the alert message the user sees if a required field is not filled out. For example, if Name is a required field, and the user does not enter any information, an alert message tells the user to enter the required information.
    Exceeded length alert message Limit the string length parameter in mobile business object forms. Enter the alert message to display when the user exceeds the maximum string length allowed when the form is submitted.

    In the message, the {0} will be replaced with the parameter name and the {1} will be replaced with the size of the parameter.

  3. (Optional) Select a parameter and click Configure to configure the input for the CGI parameters of the operation.
    Click Restore to restore default values.
  4. Click OK.