cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NurNina
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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.
NurNina
Level: Powered On

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. 

Community Support Team
Community Support Team

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

NurNina
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,539)