cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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

8 REPLIES 8
Highlighted
Community Support
Community Support

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

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
Helper II
Helper II

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?

Highlighted
New Member

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

Highlighted
Community Champion
Community Champion

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

adding in @emmac to review.

 

@TopShelf-MSFT 

Highlighted
Post Patron
Post Patron

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

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

Highlighted
Helper II
Helper II

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. 

Highlighted
Helper III
Helper III

Re: Show Photo in from SharePoint Hyperlink Column in PowerApps

Hi farsami, 

 

I am also a newbie. But I want to try the solution you shared. But I'm confused with the set of items you gave. 

How to combine all of those items?

Can you also help me convert the image to url? For example I have an image- and I want to show the url in another textbox on the same canvass?

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,037)