04-07-2017 10:25 AM - edited 02-03-2024 10:43 PM
Hi,
I have an Offline App, where i need to maintain 3 tables for a particular document. I have defined navigation from the primary to 2 other secondary tables ( one child1 has 1:1 relationship with the parent, and the other child2 has N:1 relationship with the parent. I have defined 3 defining requests in manifest.json, something like this.
When the mobile device is first synced, i can see all the documents with their related child tables data in all the tabs in my app. When i create a new ticket on the app in mobile device (in disconnected mode), it gets saved, but on the responseCallback function, when i try to read the parent entity for a particular document with #expand=child1,child2 the child table values are not fetched, it is either returned as null or an empty array is returned. When the record was saved while creating, i did check the batch requests, all the 3 tables had the corresponding data.
Not sure how to build the relationship again at the offline mode. Any ideas / pointers would be of great help.
Thanks,
Balaji
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.