I was able to view the image when using Chrome browser. But the image wont display in Mobile version and IE browser.
I display the image in the list that connected to the Sharepoint Online.
My image url was from Sharepoint Online. For example: https://domain.sharepoint.com/site/demo/picture/picture.jpg
Any one can help ?
Solved! Go to Solution.
You could be right - I generally don't delve too deeply into why things work when they do as I spend enough time on finding why other things do not work.
This also worked for me.
- Take photo in powerapps and save it to said SP list.
- Retrieve the attachment using First(ThisItem.Attachments).Value - image inside a gallery.
Worked in iOS for me.
Seeing how this is almost 4 yrs old now and I received no help but "this cannot be done" from the powerapps support engineer I wanted to provide my solution to this, more specifically:
I was able to view the image attached to a specific record in my SP List within PowerApps in Google Chrome browser but not in my Launched Mobile PowerApp.
When I first ran into this issue a couple of months ago I was able to view the image (again, Image is an attachment to a record in a SP List) using the "first(thisitem.attachments).value" function in the image control.
The above solution worked for some time but... our business demand increased and this issue came up again within our organization as we were uploading more than 1 image to a record and had no easy way of viewing them within the mobile powerapp without having to download them upon selecting each attachment.
My solution (finally) is as follows:
I built the foundation of my organization's app from the automated app that PowerApps builds for you when you create an app from a data source (SP List in my case).
In the "Details Screen" (Screen where datacards in the form are defaulted to view, i.e. where you are navigated to when you select a record from the default gallery list that is built for you) I added a custom data card and set its display mode to "edit", this step is crucial as you will not be able to select between the multiple attachments (if any) in that record if display mode is not set to "edit" for this custom data card.
Within the Custom Data Card I added the following controls:
Miscellaneous Labels (to describe to the user what they are seeing).
Formula for "Items" in the Dropdown:
Formula for "Image" in the Image control:
(this provides the hyperlink in a way that transfers the authentication token within the hyperlink and lets you view the image within your mobile app, or something like that at least - I read that explanation from someone in this forum actually)
Label that shows user the total number of attachments within the selected record:
Hope this helps!
i've attached some pictures of my app for reference as well!
Check out our new profile badges recognizing authored solutions!
We are excited to announce the Power Apps Super Users!
Did you miss the call? Check out the Power Apps Community Call here.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!