Hi,
I'm working on a canvas app for a charity using a Sharepoint list.
I want to show the picture of each child in a gallery and on a detail screen. The usual way to have the images e.g. in a document library, get every single (funny Sharepoint) link from there and paste it into a list field to be the image source, is not viable: I have a thousand pictures and they get mass updated frequently as the children grow.
The files are named with their first and last name. So what I tried as expression in the Image property is the closest thing I can imagine to a physical link for a file in a document library:
"https ://xyz.sharepoint.com/Shared Documents/Pictures/" & ThisItem.Firstname & " " & ThisItem.Lastname & ".jpg"
In PowerApps design view and in preview this shows the pictures perfectly. However, opening the app with the same credentials on my mobile leaves the image control blank. I think the problem is to resolve "Shared Documents". Actually, on my German system it is "Freigegebene Dokumente", but that should do nothing to the problem.
The name concatenation trick would certainly work with physical links to a normal website but I would like to keep it in the permission scope of their M365 E2 plan, i.e. on Sharepoint, OneDrive or similar.
Any ideas what I could do?
Thanks
Karl
Hi Warren,
my 2 replys in this thread have vanished for whatever reason. In my last reply I had thanked you for the confirmation that there is no real solution for my requirements. The only thing I can realistically do is the compromise to insecurly store the images I want to reference on an open webserver but at least anonymize their names/captions. Not really satisfactory, but that's life.
Cheers
Karl
Hi @donkarl ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
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.
Hi @donkarl ,
I have done a blog on storing and viewing SharePoint images in Power Apps. Please have a read and I am happy to elaborate further if something suits your model.
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.
WarrenBelz
48
Most Valuable Professional
mmbr1606
41
Super User 2025 Season 1
MS.Ragavendar
36