Hello all, I was wondering if there is a way for me to access an attachment using ID. I have a SharePoint list called 'Chhuns Test', and I am attempting to use a combination of collection and directly using the list to display pictures. On the details page, I am using a collection, but on the image tab, I want to use the list directly. It seems like attachments can't be put into the collection so I was thinking that this way would work.
I was thinking of getting the ID of the selected item of the collection and using that ID, I can access the attachment from the SharePoint list directly. But I do not know the method of calling the attachment using ID. Is this even possible? Please help! Thank you!!!
I think I did this using the File URL that could be retrieved for the Attachments. However, I'm not sure if this was the one where I had to do that via Flow and then created some HTML dynamically and populated a field with it. That seems correct.
Again, from memory (which...is not reliable), I think I created the record & attachments, picked up the event in Flow, rolled through each Attachment in Flow and built an HTML string, then wrote that back out to the same SharePoint record in a distinct field. When users went back to edit/view the record & attachments, the HTML gave them clickable links to the files.