How to manage Sync Objects?
Hi there!
Today, Iāll show you, how you can manage a sync object. There are two ways to manage sync objects:
Either you can manage them via your database.
Or you can manage them via webservice calls.
Besides, there are three possibilities for the sync direction:
Either from server to client.
Or from client to server.
Or in both directions.
Managing Sync Objects via your Database
If you want to manage your sync objects with a database, you have to select this option. There are three possible definitions:
indexfields: This definition specifies the IDs of the index fields, which are created after the sync object table is created. ā e.g. indexfields=idContactID,idCustomerID,sLastName,sFirstName;
partialsync: This definition determines, whether a partial sync is allowed or not. ā e.g. partialsync=false;
partialpagesize: This definition sets the partial page size, if a partial sync is specified. ā e.g. partialpagesize=1000;
For example, we want to manage our contact sync objects. We also need to set āGet Objectsā, āGet Changesā and āGet Deletesā. With āGet Objectsā we get all records for the initial sync. We get our changed records on the server (since ādtLastSyncā) withĀ āGet Changesā. WithĀ āGet Deletedā we get the IDs of deleted records from the server (since 'dtLastSync').
Managing Sync Objects via Webservice Calls
The other option is to call a webservice in order to manage your sync objects. In this case, we need to setĀ āGet Schemaā as well.














