cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
axt3641
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
axt3641
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
axt3641
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (60,563)