Morning all,
I'm trying to save a collection of all the attachments in my SharePoint list. I bring my whole list, with all of the details for a gallery, into a collection called faqCol. Then, once I click on an item in the gallery, it saves the selected record to a variable called suggested. This allows me to run all manner of fancy things based on the item selected.
However, in order to bring in the picture saved to that list item, I have to use this code:
First(LookUp('FAQ Dataset',
suggested.ID = ID).Attachments).Value)
And that can take a little bit depending on the connection. So I was hoping to save the attachments to a separate collection called picCol on AppStart that contains the picture and the ID of the item, which I can then use for the lookup above without having to do another call to 'FAQ Dataset' (my SharePoint list). Can't seem to figure out how to do that though.
Any ideas?