Announcements
Hi!
I'm trying to show up the second uploaded attachment like a image in powerapps but with no results.
The first attachment is how my app is. The second is the attachment that i would like to show up in the Powerapp image.
My Image looks like:
First(Filter(ThisItem.Attachments)
Hi @powerapps2024 ,
The first attachment is
First(ThisItem.Attachments).Value
and the second
Index(ThisItem.Attachments,2).Value
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Hi @WarrenBelz,
Thanks for your reply! If my SharePoint list has 15 rows, and I want the photo of row 15 to appear (attachment 2) ?
Sorry I do not understand your requirement.
@WarrenBelz ,
Using this in a image:
Show me the the image of the first item in my list.
But i have 15 itens in my list and how to show up the attachment of the the number 15 of the SharePoint List ? Maybe a filter by the column "name of the item".... I'm trying but with no sucess
@powerapps2024 ,
Trying to understand what exactly you need;1) You want to display image from attachment of row 15 in your SharePoint list? If yes, then where?2) You want to add the 2nd attachment to be the attachment from the row 15 of the SharePoint list?
_____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
@Gochix ,
The first option. Should be in a image in Powerapps like the second attachment is showing
In that case you can try:
First(LookUp('YourSharePointListName', ID = 15).Attachments).Value
This of course would only work for you if you always want to display the Image with ID = 15 from your list._____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
I can filter by the name of each row instead of ID's ?
You can, but then the name must be unique, or linked. Meaning, that you must somehow identify which row you wish to display. If your name contains name and surname then go ahead with that.
First(LookUp('YourSharePointListName', Name = varName).Attachments).Value
I would set the variable varName to the actual name which you wish to display the image.
Then you can control the variable and change it if you need without changing the code._____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
It should be
First(First(SPListName).Attachments).Value
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 350 Super User 2026 Season 2
M Bilal Khan 318
Mohsin Ali 220