Displaying different data on click of icon

Hi,

So there is a scenario wherein I have 2 widgets and an icon. Now the icon is available for both widgets on selection. Now I want to select a widget and clicking the icon I want to open the pop-up but the data would be different based on these 2 widgets. Please let me know how I could achieve that?

Hi rahulzlpr,

If you’d like a single widget to display two different , you’ll want to try using a “dynamic panel” widget. Dynamic panels can have multiple “panel states” that can be used to display separate things, so what you could do is create a single dynamic panel with two different panel states as your pop-up. Then, you could show the dynamic panel pop-up and switch between the appropriate panel states depending on which widget’s icon is clicked.

Here’s a tutorial that covers a few of the things you can do with a dynamic panel:

https://www.axure.com/support/reference/dynamic-panel-widgets

And you can read more about dynamic panels here if you’re interested:

https://www.axure.com/support/training/rotating-carousel-banner-tutorial

I hope this helps!