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
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
185 | |
123 | |
90 | |
46 | |
42 |
User | Count |
---|---|
269 | |
159 | |
130 | |
84 | |
77 |