cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
farsami
Level: Powered On

Show Photo in from SharePoint Hyperlink Column in PowerApps

I am new to PowerApps but I found a solution for my problem which I though might be useful for others.

The scenario was uploading a picture to a ShaPoint Library and and the link to a SharePoint List and then creating a form to show the list with the picture.

I could not update the SharePoint Picture Column using PowerApps or Workflow.

Thus I updated a HyperLink Column, but Hyperlink Columns could not be directly shown as image on PowerApps.

The solution I found is:

The link to Picture Column items are different from Hyperlink column items.

It is the combination of:

  1. "appres://datasources/…/rows/"
  2. ID
  3. "/reference/https:%2F%2Fmsmanaged-na.azure-apim.net%2Fapim%2Fsharepointonline%..."
  4. SharePoint site (….sharepoint.com)
  5. "%25252fsites%25252f…Cloud%2F"
  6. GetFileContentByPath%3Fpath=…
  7. File Name

You can Show a Picture column in PowerApps as text and mimic the link

As I said I am a new user so please let me know if you have any comment or better solutions.

Thank you

Faramarz

6 REPLIES 6
Community Support Team
Community Support Team

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

Hi @farsami ,

 

I just tested within a SharePoint list form control. I inserted an image control inside the Hyperlink data card, and set its Image property to the direct URL of image from SharePoint library. The picture won't show. But if I set the Image property to the URL of image from web, then the image shows as expected. 

 

So did you make sure that the image show correctly in Image control according to your steps? If so, would you please take a screenshot and explain more details about how did you achieve this?

 

Personally, I think the image of SharePoint library URL in Hyperlink list column won't be able to display in Image control. This is because that to be able to see the image, currect user need to have the proper permission on the Library too. That is a different data source for PowerApps. Yet I also tested to add the library data source to the same app, but still the image won't show.

 

If you got different result, please share here. 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
farsami
Level: Powered On

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

Hi,

 

Thanks for the testing and response.

It seems that my findings is correct and the solution is fine for my purpose .

If you think it is good for others, please acccept that as a solution.

 

Kind regards,

Faramarz

farsami
Level: Powered On

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

Hi @v-monli-msft,

 

This solution does not work with IOS, I could not see the picture on IPad and IPhone.

Any suggestion?

ajcourtney
Level: Power Up

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

Pretty sure this is the exact scenario I find myself in. I created a SharePoint document library to hold all profile/CRM portraits of clients and then added a column to the main client SP list that creates a relationship between the photo URL and the client record in the list.

 

My search led to this: https://www.techmikael.com/2018/03/how-to-display-images-from-sharepoint.html

which then led to this: https://www.youtube.com/watch?v=zTyqEEc9-FI

 

and this: https://www.bruce365.com/2018/10/11/display-sharepoint-images-on-mobile-devices-in-a-canvas-powerapp...

 

Still wondering how to populate the image section with the correct portrait...

Administrator
Administrator

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

adding in @emmac to review.

 

@TopShelf-MSFT 

Highlighted
luuminhvuong93
Level: Powered On

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

converting thousand of photos in Sharepoint to uri for display would be a nightmare.....

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 85 members 4,211 guests
Recent signins:
Please welcome our newest community members: