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

Pop Out Image Powerapps

Hi I have a question, Im making a sales order apps. Right now what im dealing with is limited space issue.So I have the idea to use pop up for the product's image based on the product number. Is it possible to do that? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Pop Out Image Powerapps

Hi @NurNina ,

Could you please share a bit more about the Table2? Does it represent the data source your Data Table connect to?

 

I assume that the "Image" is a Column in your Table2 (may be a Excel table) to store the image data, and there is a column in your Table2 to store the corresponding 'inct ID' value, is it true?

 

I think there is something wrong with your formula. Please consider modify your formula as below:

UpdateContext({MyBigPic: LookUp(ImageDataSource, ProductNo = DataTable1.Selected.'Invt ID', Image)});
UpdateContext({MyBigPicShow: true})

In addition, please check if the MyBigPic context variable is populated with proper image data rather than a Table value.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Pop Out Image Powerapps

Hi @NurNina ,

Could you please share a bit more about your scenario?

Do you want to display your image using a Pop-Up within your app?

 

Based on the needs that you mentioned, I think PowerApps could achieve your needs. More details about creating a Pop-up screen (dialog screen) within PowerApps app, please check the following video or thread:

https://www.youtube.com/watch?v=3R3BQ5P8X5U

https://www.youtube.com/watch?v=SaDEVOgOlYY&feature=youtu.be

 

https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Creating-a-pop-out-windows-on-the-sc...

https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/How-to-create-a-pop-out-window-after...

 

On your side, you could add a Rectangle icon within your app, then add a Image control (put the image over the Rectangle icon), then add a "Close" button under the Image to close the Pop-Up box:

 1.JPG

Then group above three individual controls into a Group:2.JPG

Set the Image property of the Image control to following:

LookUp(DataSource, ProductNo = "Specific Product Number", ImageColumn)

Set the OnSelect property of the "Close" button to following:

Set(ShowPopUp, false)

Set the Visible property of the above Group control to following:

If(ShowPopUp, true, false)

If you want to show up the Pop-Up box when you select a specific Product, please add the following formula within the OnSelect property of the button:

Set(ShowPopUp, true)

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helper V
Helper V

Re: Pop Out Image Powerapps

Inkederror1_LI.jpgInkederror2_LI.jpg

 

this is what im trying to do. user click on the invt ID and the image of the product pop out. The image and the invt ID are not from the same data source. 

Highlighted
Community Support
Community Support

Re: Pop Out Image Powerapps

Hi @NurNina ,

Could you please share a bit more about the Table2? Does it represent the data source your Data Table connect to?

 

I assume that the "Image" is a Column in your Table2 (may be a Excel table) to store the image data, and there is a column in your Table2 to store the corresponding 'inct ID' value, is it true?

 

I think there is something wrong with your formula. Please consider modify your formula as below:

UpdateContext({MyBigPic: LookUp(ImageDataSource, ProductNo = DataTable1.Selected.'Invt ID', Image)});
UpdateContext({MyBigPicShow: true})

In addition, please check if the MyBigPic context variable is populated with proper image data rather than a Table value.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper V
Helper V

Re: Pop Out Image Powerapps

thank you so much for the help! ive managed to pop out the image based on the invtID chosen! 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,068)