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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,478)