No Data or Images Appear on the Device

Problem: No data or images appear on the mobile device.

Explanation 1: This may indicate that operation parameter datatypes (int, decimal, image, and so on) are mapped incorrectly. You map parameter datatypes to strings from the Mobile Application Diagram when you create an MBO operation.

Solution:
  1. From the Mobile Application Diagram, double-click the operation to show in the Properties View.
  2. Select the Parameters tab.
  3. Select a datatype in the Datatype column that matches the one for Client Parameter or attribute. For the image type, you need to provide binary type, and the size of the binary.
Explanation 2: The synchronization result may be empty if these rules are not followed:
  • When the backend is a SQL Anywhere database, and using the CHAR NULLABLE column as a sync parameter, you do not need to pad the value with spaces. When using the CHAR NOT NULLABLE column as a sync parameter, you need to pad the value with spaces.
  • When the backend is a non-SQL Anywhere database, and using the CHAR column as a sync parameter, you always need to pad the value with spaces.

Solution: Re-evaluate the synchronization parameter value, and make modifications using these rules as a guide.

Explanation 3: This may indicate that a new cache database (CDB) in an existing SQL Anywhere environment needs trailing spaces enabled to perform proper comparison by ignoring the trailing blanks. When device client provides a synchronization parameter value, it must include trailing spaces. UTF8 collations are also a requirement for SAP Mobile Platform.

Solution: In System Administration, see Initializing a New Cache Database for information about setting up the environment properly.