Hey guys!
I am expanding my knowledge of mobile applications in Outsystems.
During the Data Sync exercise, the result didn't match my expectations based on the training.
The message "No data found... Have you configured and implemented synchronization already?" appeared.
I have reviewed the entire process and couldn't identify where I might have made a mistake.
As a temporary solution, I added the sync to the "OnInitialize" event of the "Customers" screen.
Has anyone else encountered this situation? Does the solution I found violate any best practices?
Thank you for your help!
Hi,
Your sync configuration is configured to run on login only.Have you tried lout and login again to the application?Also pls make sure your server entity has enough data to sync in local entities.
Hello, friend!
Firstly, thank you for your reply.
Regarding the synchronization, I followed the steps in the exercise: https://learn.outsystems.com/training/journeys/data-synchronization-668/data-sync-exercise/o11/1793
Since there is no data in the local storage, it doesn't allow me to log in.
There is data in the Server Entity.
As I mentioned earlier, if I set up synchronization in the "OnInitialize" event, things work as expected. However, there are no instructions like this in the exercise.
Please share me the OML file of your module. Let me take a look on it.
Attached is the .oml file