How can I display an image from Sharepoint attachments in a gallery? I have tried to put all the attachments into a collection, but it seems like it is not working.
Solved! Go to Solution.
Each entry in your gallery could contain multiple attachments, so your Image property (ThisItem.'{Attachments}') is returning a table rather than a single attachment.
If you only want the first attachment you can try First(ThisItem.'{Attachments}').AbsoluteUrl.
Attachments is the table, AbsoluteUrl is one of the fields and the one you need to reference to show an image.
If you want all the attachments you will need to 'nest' a gallery inside your existing gallery to show multiple attachments for each row.
Each entry in your gallery could contain multiple attachments, so your Image property (ThisItem.'{Attachments}') is returning a table rather than a single attachment.
If you only want the first attachment you can try First(ThisItem.'{Attachments}').AbsoluteUrl.
Attachments is the table, AbsoluteUrl is one of the fields and the one you need to reference to show an image.
If you want all the attachments you will need to 'nest' a gallery inside your existing gallery to show multiple attachments for each row.
In the formula, it keeps saying the name isn't valid, this identifier is not recognized. How can I find the appropriate name of the attachments? I have imported into a collection but the collection does not have an attachment titled "Attachments"? Thank you.
Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Did you miss the call?? Check out the Power Apps Community Call here!
User | Count |
---|---|
256 | |
203 | |
75 | |
37 | |
31 |
User | Count |
---|---|
338 | |
214 | |
119 | |
71 | |
55 |