Use mobile business objects (MBO) from a mobile application project as the data source for the device application.
When using mobile business objects as a data source for the device application, keep in mind:
- During design time, you can use mobile business objects that have not been deployed to Unwired Server, but before deploying the application for testing on a device or simulator, you must deploy the mobile business objects referenced in the device application, to the Unwired Server.
- All the mobile business objects in the deployed package must be used in the device application. If a package contains mobile business objects you do not want to use, you can unselect them in the Contents page of the Deploy Mobile Application Project wizard before deploying the package.
- To parse empty BINARY (0x) to the synchronization parameter from the client side and get the records with empty BINARY, you can use one of these methods:
- In the mobile business object, set the default value of the synchronization parameter to empty BINARY. Then when you configure the initial synchronization parameter in the Device Application Designer, the server default (literal empty) is used, so records with empty BINARY can be synchronized.
- Define a BINARY Personalization Key with an empty default value, and configure the initial synchronization parameter in the Device Application Designer to use the Personalization Key as the input value.
- In a case where there are multiple parents for the same child MBO, and one parent MBO has a relationship that is one-to-one, and another parent MBO has a relationship that is one-to-many, duplicate screens for the child detail and its create, update, delete operations are generated. This does not happen if both parents have a one-to-many relationship defined.
- On Windows Mobile devices, you cannot use mobile business objects from two different mobile application projects in one Device Application Designer.
- Mobile business objects that use message-based synchronization are not supported on BlackBerry devices.