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

Making an Image Display in a Form (the source being a SharePoint Lookup Field)

Hello PowerApps Community,
I am working on a PowerApps Inventory Store. I am aiming to create an Inventory List that has an Inventory Details page.

 

The Source:
I have created a SharePoint List called "Company Store". They have the following fields. *The Photo field is a Lookup Field that I added the hyperlinks to. I noticed that SharePoint uploaded image links do not work so I will use external ones*


Please see the attachment "CompanyList"

- When I add a Gallery that connects to the SharePoint List, it displays fine.

- When I add a Form that connects to the SharePoint List, it just shows me the hyperlink of what is in the SharePoint List. Please see the attachment "StoreForm".

 

- When I looked at the Photo Form Control, I see it as a HTML Text Control with this in the function:
"<a href='" & Parent.Default & "'>" & Parent.Default & "</a>"

Please see the attachment = "HTMLPart"

Is there anything I can do to make the Form Control actually display the image instead of it just showing the text? I tried adding an Image control into the Card but cannot figure out how to configure it.

Cheers,
Andy

 

1 ACCEPTED SOLUTION

Accepted Solutions
Helper I
Helper I

Figured it out... Just had to put:
ThisItem.Photo

While in the Image Control once it is in the Data Card!

View solution in original post

1 REPLY 1
Helper I
Helper I

Figured it out... Just had to put:
ThisItem.Photo

While in the Image Control once it is in the Data Card!

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Users online (7,222)