Configuring Data Synchronization by Filtering Parameters

Filtering by a client parameter determines synchronization behavior and affects caching of Enterprise Information System (EIS) information on Unwired Server when a mobile business object (MBO) is accessed by a device application.

  1. In the mobile application diagram, select the mobile business object (MBO) for which you want to add filter settings.
  2. Right-click the MBO and select Detailed Properties.
  3. Select the Parameters tab and click More>>.
  4. Select the Filter by checkbox for any parameters that you want to use for synchronization.
    • If the default value is not supplied by the client, Unwired Server synchronizes based on the specified default value.

      If you are using a Web service, Optional is always set to True if the service is mapped to an element that has maxOccurs=0 in the WSDL.

    • If you specify a personalization key, the client is not required to provide a value, but you must define a value for the key before successfully synchronizing the MBO.

    During subsequent synchronization, the client may provide different values for the parameter, all of which affects EIS data refresh results that Unwired Server performs.

You develop an MBO named "salesOrder" and define a Filter by parameter named "region". The default value of "region" is "Eastern". After the MBO is deployed to Unwired Server, the implications of setting Filter by are:
If you unselect Filter by, redeploy, and run this query against the MBO:
select * from sales_order where region = ?

Related concepts
Parameters
Related tasks
Adding a Parameter to a Mobile Business Object


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com