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