Skip to main content

Notifications

Community site session details

Community site session details

Session Id : XcKdTbmKHd8BywCnT2RyHU
Power Apps - Building Power Apps
Unanswered

Show individual images from Sharepoint without a link field

Like (0) ShareShare
ReportReport
Posted on 2 Nov 2020 15:28:01 by 7

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

Categories:
  • donkarl Profile Picture
    7 on 09 Nov 2020 at 09:16:49
    Re: Show individual images from Sharepoint without a link field

    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

  • WarrenBelz Profile Picture
    146,889 Most Valuable Professional on 06 Nov 2020 at 02:29:40
    Re: Show individual images from Sharepoint without a link field

    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.

  • WarrenBelz Profile Picture
    146,889 Most Valuable Professional on 03 Nov 2020 at 20:29:40
    Show individual images from Sharepoint without a link field

    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.

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.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 48 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard
Loading started