The synchronization API makes it easier to call the generated synchronization programs for Offline applications in order to make the synchronization between the device and the web server whenever the developer wants to.
||Determines the server status.
||Receives in the device all the changes made in the server.
||Sends the pending modifications to the application server in order to submit the changes.
It returns the local database (offline) content to its initial state. That means:
- restoring the preloaded database if it exists, or
- executing a Create Database to empty database tables.
||Set checkpoints in the pending events in order to allow batch synchronization
Event ‘Do Receive’
As from GeneXus X Evolution 3
1 ResetOfflineDatabase method is available as from GeneXus X Evolution 3 upgrade 7.
2 SetSendCheckpoint method is available as from GeneXus 16 Upgrade 3.