Load parameters control the amount of data refreshed between the enterprise information system (EIS) and the consolidated database (CDB, or Unwired Server cache). You can also map them to synchronization parameters.
You can use mobile business object (MBO) load parameters to control data refresh, create partitions, and, if mapped to a synchronization parameter, filter data that is returned to the mobile device. If you drag and drop a data source, or otherwise create MBO attributes that automatically generate attribute parameter-to-argument mapping, steps 1–3 below are optional. Do not confuse load parameters with operation parameters, which are defined or modified for individual operations.
SELECT customer.id, customer.fname, customer.lname, customer.address, customer.city, customer.state, customer.zip, customer.phone, customer.company_name FROM customer WHERE customer.state = :state_namethen state_name is a load parameter and state is the Propagate to attribute. You can modify this load parameter or add additional load parameters from the Load Parameters tab.
Property | Description |
---|---|
Parameters | |
Name | Name of the mobile business object parameter. Names cannot contain C# or Java reserved words. |
Datatype | Select the parameter datatype. Datatypes include string, date, int, datetime, decimal, and so on, and map to the data source's datatype. |
Nullable | Select this option if Null is a valid value for the parameter, the corresponding data source Argument to which it maps, and the Propagate to attribute. |
Personalization key | (Optional) You can select a personalization key to map to the parameter, which provides an argument value. For example, you can create and specify the "state" personalization key, and return values that match a specific value, such as "California." If Synchronization parameter is selected, this option is unavailable. |
Synchronization parameter | (Optional) Map the load parameter to an existing synchronization parameter (defined from the Synchronization tab) to filter the results that are downloaded to mobile devices based on the value. The Default value and Personalization key options are ignored if you select synchronization parameter. |
Propagate to attribute | (Optional) Select an attribute to use its value for that of the parameter. |
Data Source | |
Argument | Data source argument name to which the parameter is mapped.
If you select Unmap as the data source argument, an extra unnamed row is added to the load parameter list. This is not an error. The data source requires an argument mapping for these parameters. Selecting Refresh, or remapping the parameter removes the extra row. |
Datatype | Datatype of the data source argument to which the parameter is mapped. You can change the argument's datatype only if it maps to a parameter bound to a JDBC data source. |
Nullable | Select this option only for EIS arguments that support NULL as a valid value. |
Default value | (Optional) Enter a default value for the parameter. If Synchronization parameter is selected, this option is unavailable. |
Show/Hide figure | Once you define a parameter, select Show figure to view a graphical representation of the parameter-to-data source argument mapping. You can modify the mapping by dragging the connector line from the parameter to a different argument, which automatically updates the datatype to that of the argument. |