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

7 REPLIES 7
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

Highlighted
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...

TopShelf-MSFT
Level 10

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

adding in @emmac to review.

 

@TopShelf-MSFT 

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.....

farsami
Level: Powered On

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

No need to convert the photos. a coulmn should be created with the link. If there're thousands of photos a Flow can be prepared to fill up the column. 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,907)