Hi,
I have an offline app with a collection (KBXCollection) as well as a button to upload list to sharepoint (KBXjob). The App"OnStart" is set to
LoadData(KBXCollection, "KBXCollectKeep")
and the button to upload data is set to;
ForAll(KBXCollection, Patch(KBXoffline, Defaults(KBXoffline), {Site: Site,PO: PO,MachineID: MachineID,Title: Title,Date:Date}));
Reset(TemplateGalleryList1);
RemoveIf(KBXCollection,true);
Navigate(Editscreen);
The problem i have is each time you log back into the app, the submitted data from Collection keeps returning (i have also tried running Clear(KBXCollection)) I would like to have the data from the collection load on startup but only if it hasnt been submitted to sharepoint. Any information would be much appreciated
Thanks Pstork, that was the missing piece.
Normally, once you've synced the data to online you clear the collection and also do a SaveData (to clear the collection that is stored). Otherwise as you've found the data comes back when you next LoadData.