Hi Team,
I am trying to fetching Related collection in offline mode of mobile when it is enables , but its giving error
This is my code
var meetingsBean = app.data.createBean('Meetings', {id: Meeting_id});
var relatedCollection = app.data.createRelatedCollection(meetingsBean,'link',);
relatedCollection.fetch({
relate: true,
success:_.bind(function(response) {
console.log('Modeoffline');
}, this)
});
if i turnoff the offline mode its working,can you help me to fetch the related collection.
Can someone please guide me or share me with any piece of code so i can fetch the related collection when offline mode is enabled
Thanks