
Announcements
I have an app connected to a sharepoint list - 'Vehicle Accidents'
I have created my own controls to manage the creation of entries and successfully used the Patch(SPList, Defaults, FormName.UPdates) when creating a new record to carry across the attachments.
On another screen I need to allow people to update the attachments. I have done this by creating a popup screen containing a form with just the attachments field and i've used the same Patch(SPList, ID = colID, FormName.Updates). I am seeing the following (unwanted) behaviour:
1. any files added at this stage are being added to the SP list but show as "unsaved" within the app even though they have been aded
2. if I delete a file it does not remove the file from the SP list
3. when I try and download the file it says there "couldn't download - No file". If I check the SP list I can definitely access the files and checking the Items property of the DataCardValue appears to show valid URLs within the record.
Screenshots:
Onselectproperty of save button with the patch
Items property of data card - you'll see that CaptureTestRenault.Png is in this list and is on the SP list but is not showing in the attachments field because I deleted it from the attachments field but that change has not been reflected in SP list.
You can see here the Cat.txt is showing as Unsaved but as evidenced has patched successfully to SP list