The Push Offline DB To Server action is used to synchronize operations performed in offline mode to the server when the internet connection is restored.
With this action:
You can send transactions that users perform offline to the server without losing them.
When the connection is restored, you can automatically synchronize the data in the local database.
You can provide a seamless user experience by maintaining data integrity and continuity in your application.
For example:
If a field worker updates customer information without an internet connection, that information is automatically sent to the server when an internet connection is available.
A user who creates an order in offline mode can transfer the order information to the central system when the connection is established.
Push Offline DB To Server is supported in web and mobile applications.
Add Push Offline DB To Server Action
Log in to the Kuika platform and open the project you will work on from the Apps screen.
Switch to the UI Design module and open the Properties panel on the right side.
Click on the + ADD ACTION drop-down menu.
Select Initial Actions → Offline Database → Push Offline DB To Server.
Configure the following field from the drop-down menu:
Offline DB Base64:
Represents the local database encoded in Base64 format when working offline.
It ensures that the content in the local database is correctly transmitted to the server.
Finally, complete the configuration process by clicking the SAVE button.
By following these steps, you can effectively use the Push Offline DB To Server action on the Kuika platform.