cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Photos in catalog from SharePoint list are displayed in the browser but not in the PowerApps app

Hello everybody,

 

I'm having a problem viewing photos from a shared SharePoint site in a Powerapps catalog.

 

Regarding the framework:

The Sharepoint website is approved for all by the administrator. Authentication is not required. The photo links are given in a SharePoint list. The links point directly to the photo. Example: https://....../Freigegebene%20Dokumente/Fotos%20Spielger%C3%A4te/Baumhaus4.jpeg

 

Problem:

When I display the app in the browser I can see the photos. When I view the app in the PowerApps tablet app, I cannot see the photos.

If I enter the photo link via the browser, it will be displayed.

Why is that?

 

greeting

Sebi

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @Sebastian_Geige ,

This is as a result of the way that the mobile app version of Power Apps accesses URLs anonymously. I won't get into the depths of this, however as you have discovered, they do not work, however there is an easy solution.

You can display photos from either attachments to a SharePoint List or a from items in SharePoint document library on Apple and Android devices easily.

If from a SharePoint Library - in a Gallery  the Image control Image property is 

ThisItem.'{Thumbnail}'.Large

For a Standalone picture on the form

GalleryName.Selected.'{Thumbnail}'.Large

 (you can also use Small and Medium

For an Attachment in a gallery with Items showing attachments for selected item - Items of Gallery

GalleryName.Selected.Attachments

Image property in gallery

ThisItem.Value

For standalone picture

GalleryName.Selected.Value

To show the first attachment on a form

First(GalleryName.Selected).Value

We do this with thousands of pictures in the field and it works very reliably.

 

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.

 

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @Sebastian_Geige ,

This is as a result of the way that the mobile app version of Power Apps accesses URLs anonymously. I won't get into the depths of this, however as you have discovered, they do not work, however there is an easy solution.

You can display photos from either attachments to a SharePoint List or a from items in SharePoint document library on Apple and Android devices easily.

If from a SharePoint Library - in a Gallery  the Image control Image property is 

ThisItem.'{Thumbnail}'.Large

For a Standalone picture on the form

GalleryName.Selected.'{Thumbnail}'.Large

 (you can also use Small and Medium

For an Attachment in a gallery with Items showing attachments for selected item - Items of Gallery

GalleryName.Selected.Attachments

Image property in gallery

ThisItem.Value

For standalone picture

GalleryName.Selected.Value

To show the first attachment on a form

First(GalleryName.Selected).Value

We do this with thousands of pictures in the field and it works very reliably.

 

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.

 

View solution in original post

@WarrenBelz Thank a lot, this is a very easy way to fix my problem!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (70,327)