42
Views
4
Comments
Data Sync Exercise - "No data found..."
Application Type
Mobile
Service Studio Version
11.54.27 (Build 62849)

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! 


DataSynchronizationExercise_Josemar.oml
NoDataFound.png
2024-12-02 12-15-17
Aravind EONE

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.

2023-10-09 13-52-53
Josemar

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.

2024-12-02 12-15-17
Aravind EONE

Please share me the OML file of your module. Let me take a look on it.

2023-10-09 13-52-53
Josemar
DataSynchronizationExercise_Josemar.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.