How to add a back button to popup?

700
0
01-16-2019 08:37 AM
LenielMaccaferri
New Contributor II

Hi guys,

I'm using ArcGIS for JS 4.10.

I have a workflow in which I have some actions attached to the popup.

When I click an action, I load a partial view using jQuery get and pass it to the popup content.

Now I'd like to have a back button to go back to the previous popup page, that is, the page shown when I initially clicked the feature in the map. This initial page shows basic info in a table for the feature selected.

How can I approach this? Is there any built-in functionality for this?

An ideal solution would be a back button displayed in the popup footer that would go back to the previous action executed if any was clicked at all.

Thanks for any suggestion or sample code you may have.

0 Kudos
0 Replies