Binding the findByParameter Object Query to a Menu Action

For synchronous, online data access, define an Online Request menu action and bind it to the findByParameter object query.

Prerequisites
You must have propagate-to attributes mapped to MBO load parameters, and the deployed MBO must use an Online cache group policy. Unwired Platform services must be running.
Task
  1. From Unwired WorkSpace, launch the Mobile Workflow Forms Editor.
  2. From the Flow Design screen, double-click the screen for which you are defining a mapping to open it in the Screen Design tab.
    For example, you can have a client-initiated starting point with a Start screen that connects to the Online Data screen.

  3. Highlight the menu item you want to map, or create a new menu item.
  4. Define a Submit action that invokes the findByParameter object query:
    1. From the General tab, select Online Request as the Type.
    2. In the Details section, select Search to locate the MBO that contains the findByParameter object query.
    3. Click the General tab, select Invoke object query and select findByParameter.

      If you select the Parameter Mappings tab, you see all the load parameters defined for the MBO and used to generate the findByParameter object query. In addition to Key, you can map parameters to BackEndPassword, BackEndUser, DeviceId, DeviceName, DeviceType, UserName, MessageId, ModuleName, ModuleVersion, and QueueId.

      Unmapped parameters can get their value from the default value, if specified, or from the personalization key value they are mapped to, if that is specified. If the key is unmapped, and the parameter has no default value and is not mapped to a personalization key value, the parameter value is empty (NULL for string, 0 for numeric, and so on).