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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (101,258)