Hello,
I am trying to save records while working offline, so that they get uploaded at the end of the day to my Sharepoint list when back online.
In my edit form, I create a collection with the info entered, save it to the phone's cache, and load the data which I display in a gallery.
Collect(offline_record,{date: DataCardValue22.SelectedDate,centre: Dropdown3.Selected.Value});
SaveData(offline_record,"offline_record_local_storage");
LoadData(offline_record,"offline_record_local_storage")
I created a gallery where I display the collection by setting the items property to offline_record, and it works.
However, when I enter a new offline record, it replaces the previous one, instead of adding it up.
So my gallery always displays the last offline record entered, instead of the whole list of offline records.
If anyone has some advice that would be great.
Thanks a lot