cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Show an Image in a Power App from a SharePoint list using Lookup

I would like to display an image on my PowerApps form.  The image is shown under Swoosh.  

Another Lookup I'm using in another case on this form is LookUp('B/ERGS',Title = Sponsored.Text,Acronym).  Works perfectly with color value. 

On my form I have a custom card with an image control.  The formula appears fine with no comments or exceptions but my image is not showing. 

Any thoughts?  Thank you.  

 

Image Not showing.jpg

Swoosh.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Post Patron
Post Patron

Re: Show an Image in a Power App from a SharePoint list using Lookup

I figured this out! 

 

1. Uploaded all my images to the Media section in PowerApps. 

 

2. Created a collection of my images. 

 

ClearCollect(colSwooshes,

{Value: "Name of Sponsor1", Image: Related Image1},
{Value: "Name of Sponsor2", Image: Related Image2})

 

3. Added an Image box to my PowerApp

 

4. Added this to the Image property of my Image box

LookUp(colSwooshes,Value = lblSponsoredByLong.Text,Image)

 

The "value" column in my colSwooshes matches the lblSponsoredLong label. 

 

Seems to be working fine but am open to any suggestions for improvement!  

 

As always, @WarrenBelz appreciate your input.  You are always so very helpful!  

View solution in original post

8 REPLIES 8
Highlighted
Super User III
Super User III

Re: Show an Image in a Power App from a SharePoint list using Lookup

Hi @CindyZ ,

What type of field is Acronym?

Highlighted
Post Patron
Post Patron

Re: Show an Image in a Power App from a SharePoint list using Lookup

Thank you, @WarrenBelz 

 

The Acronym column is a single line Text column while the Swoosh column is a Hyperlink or Picture with Picture selected. 

 

 

Highlighted
Super User III
Super User III

Re: Show an Image in a Power App from a SharePoint list using Lookup

@CindyZ ,

Where is the Picture located?

Highlighted
Post Patron
Post Patron

Re: Show an Image in a Power App from a SharePoint list using Lookup

In the SharePoint List -- actually to the right of the acronym column. 

Highlighted
Super User III
Super User III

Re: Show an Image in a Power App from a SharePoint list using Lookup

@CindyZ ,

Not the hyperlink - where is the Picture actually stored?

Highlighted
Post Patron
Post Patron

Re: Show an Image in a Power App from a SharePoint list using Lookup

I'm sorry -- Site Assets. 

Highlighted
Post Patron
Post Patron

Re: Show an Image in a Power App from a SharePoint list using Lookup

I figured this out! 

 

1. Uploaded all my images to the Media section in PowerApps. 

 

2. Created a collection of my images. 

 

ClearCollect(colSwooshes,

{Value: "Name of Sponsor1", Image: Related Image1},
{Value: "Name of Sponsor2", Image: Related Image2})

 

3. Added an Image box to my PowerApp

 

4. Added this to the Image property of my Image box

LookUp(colSwooshes,Value = lblSponsoredByLong.Text,Image)

 

The "value" column in my colSwooshes matches the lblSponsoredLong label. 

 

Seems to be working fine but am open to any suggestions for improvement!  

 

As always, @WarrenBelz appreciate your input.  You are always so very helpful!  

View solution in original post

Highlighted
Super User III
Super User III

Re: Show an Image in a Power App from a SharePoint list using Lookup

Hi @CindyZ ,

Yes the picture has to "exist" somewhere and the Media is a good place for static items.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

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 designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

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,189)