Previewing Mobile Business Object Attributes

Configure attribute parameters and preview the results against the data source to which they are bound. Optionally create a reusable configuration for future previews.

  1. From the Mobile Application Diagram, select the mobile business object you want to test by clicking once anywhere in the mobile business object.
  2. Right-click the mobile business object and select Preview.
    Note: You can also access the Preview dialog when defining attributes for a newly created mobile business object. Or you can click the Definition tab of Attributes in the Properties view then click the Preview button to see the Preview dialog.
  3. From the Preview dialog, configure the attribute parameters used to test and preview the mobile business object and preview the results.
    Preview dialog instructions
    Field Description
    Attributes
    • Argument name – (read-only) the name of the argument.
    • Datatype – (read-only) the parameter's datatype.
    • Nullable – (read-only) accepts NULL if selected.
    • Required – (read-only) requires a value if selected.
    • Value – supply a value for the attribute's parameter compatible with the datatype, to pass to the data source. To select NULL as the value, click in the field next to the parameter, then click the down arrow on the right to select NULL as the value from the drop-down. If the datatype is binary, date, datetime, or time, select the input dialog in which you can select a value.

      If the datatype is TABLE, click in the Value field, then click the ellipsis (...) within the Value field to launch the Input Table Data dialog. The Input Table Data dialog contains columns that correspond to that of the selected parameter.

      the parameter displays only if you have defined it, otherwise the table is empty.

      Click Add to add a row and click inside each column of the new row to enter preview data that corresponds to the columns datatype. If you have multiple rows, you can order them using Up and Down buttons, and delete rows using the Delete and Delete All buttons.

    You can order the attribute parameters by selecting the column heading by which you want to order.

    Existing Configurations Select either an existing configuration that contains attribute parameter value settings, or preview without using a configuration:
    • If you continue without a configuration, then the preview uses the parameter data you provided. Optionally, provide a configuration name then click Save to save your settings as a configuration. If you enter a name without clicking Save, the configuration is not created.
    • Select an existing configuration from which you preview the attributes.
    • Delete – deletes the selected configuration.
    • Delete all – deletes all saved configurations.
    • Load default – loads the default configuration.
    Preview Select Preview to pass the parameters to the data source and view the results in the Preview Result screen.
    Note:
    • If the MBO definition requires a default value, and you do not provide one, the data source returns an error which Unwired WorkSpace displays, when you select Preview.
    • By default, 20 rows display at a time. You can change the default in the Miscellaneous Preferences dialog (Maximum rows to retrieve). But if this number is too high, the preview may take a long time to complete.
Related concepts
Result Set Filters