
Announcements
Hi,
I have a SharePoint Attachment data with the items property set as below. I have created a collection in the OnVisible property of the Screen and passing this collection into the Attachments item property.
Filter(colReadEditModeAttachments,StartsWith(DisplayName,"keyDoc"))In the OnRemoveFile property, I would like to pass each removed item into a Collection and on submit of the form, I would like to pass this collection to PowerAutomate to delete the selected items which are in the collection.
On the first road block itself, I am not able to pass each removed item into Collection. Please help.
I tried the code below, but this kept only adding the same filename into the Collection when I tried to remove more than one attachment.
Collect(colDelAttachments,{fileName:LookUp(colReadEditModeAttachments,DisplayName=ThisRecord.DisplayName).DisplayName});Thank you!