123
Views
6
Comments
Solved
OFFLINE DATA SYNC ON MOBILE
Question
Application Type
Mobile
Service Studio Version
11.13.1 (Build 53655)

HI,

I'M FACING AN ISSUE REGARDING MOBILE APPLICATION OFFLINE DATA SYNC FROM LOCAL TO SERVER DATABASE ,I HAVE 5 ENTITIES IN SERVER AS WELL AS LOCAL AND I CAN ABLE TO SAVE DATA LOCALLY(5 ENTITIES) AND ALSO BE ABLE TO  SYNC BUT THE PROBLEM IS IM NOT ABLE TO SAVE ENTIRE ENTITIES LIKE SYNC IS HAPPENING FOR THE FIRST ENTITY AND REST IS NOT SYNCING AND SAVING ,PLEASE GIVE ME A SOLUTION TO SOLVE THIS ISSUE.

THANKS IN ADVANCE 


Screenshot (18).png
2020-11-13 07-48-15
Khuong Truong
Solution

Hi Ravichand,

I updated your .oml file, you can take a look.

Please note that I just updated for 

SyncLocalTYPESOFPROJECTSs

You can follow my approach to sync rest Entities.

Cheers,

Khuong

VENTURA_MOBILE (30-11-21).oml
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Ravichand,

May I ask you to write in lowercase on future replies? The all uppercase is hard to read.

If your logic is not working as you expect, did you 

  1. check Service Center for error logs, if so can you share?
  2. try to debug your sync logic?

Regards,

Daniel

2022-01-08 08-12-34
Ravichand G Y

Hi Daniel,

sorry for inconvenience and yes I'm not getting an expected output 

Screenshot (20).png
2023-04-18 18-18-30
Murilo Antonio de Souza

Hi Ravichand,

Can you please attach your project's OML so I can better understand what's going on?

Regards, 

Murilo.

2020-11-13 07-48-15
Khuong Truong

Hi Ravichand,

It happened because your rest Entities' Id is a FK. Therefore you need to set their Id value.

Regards,

Khuong

2020-11-13 07-48-15
Khuong Truong
Solution

Hi Ravichand,

I updated your .oml file, you can take a look.

Please note that I just updated for 

SyncLocalTYPESOFPROJECTSs

You can follow my approach to sync rest Entities.

Cheers,

Khuong

VENTURA_MOBILE (30-11-21).oml
2022-01-08 08-12-34
Ravichand G Y

Hi Khuong Troung ,

Thank you so much for your help ,its works fine .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.