Creating an Object Query Action

Add an object query action to a table or list detail control.

The object query action has these limitations:
  • Paging is not supported for object queries. If you add an object query action to the table, all data is shown.
  • Sort and Search features are not supported.
  • Object queries with a return type of result set are not supported.
  • If the object query parameter is of the DateTime datatype, the millisecond length must be two characters, for example, 2010-02-06 06:46:15.16. If you use a longer millisecond length, the record cannot be fetched.
    Note: An object query is not supported on child mobile business objects
  • Personalization keys are not supported.
  1. In the Screen Design > Palette, select the control to which you want to assign the object query action, for example a grid table, and drag and drop it onto the screen.
  2. In WorkSpace Navigator, locate the mobile business object or synchronization group that contains the object query you want to assign to the control, and drag and drop it directly onto the control.
  3. From Palette > Controls, select any action-enabled control, for example, a button or menu item and drag and drop it onto the mobile business object screen.
  4. From Palette > Actions, select the Object Query action and drag and drop it onto the control you added in the previous step.
  5. In the Object Query Action dialog, enter or select:
    Property Description
    Control Select the control to which to assign the object query. This updates the grid table or list view to use the values of the object query. This overwrites whatever is set in the initial configured object query in the mobile business object.
    Mobile business object This is filled in based on the selected control.
    Object query Select the object query. The object query parameters are filled in automatically. You can configure any of the parameters by double-clicking on the selected parameter.
    Required field alert message 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 field alert message You can 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.
  6. Click OK.