Select to view content in your preferred language

PopupViewer - Enhancement Request

184
2
Jump to solution
2 weeks ago
Labels (3)
Mike_Quetel
Frequent Contributor

I'm in the process of retiring a custom popup viewer in favor of  the PopupViewer in esri's toolkit.  It's generally an improvement but I have an enhancement request that I think would be fairly easy to implement and make the control more functional.

My app builds a tree of the various layers/features that were identified (left pane) and when a feature is clicked, the popup is displayed (right pane).  Kind of a classic item/item detail UI metaphor.  The PopupViewer automatically begins displaying a back button after the first feature is selected, which is not relevant in my use case.  

My enhancement request could be summarized as provide some programmatic control of if the back button is displayed.  Thoughts include:

  1. A simple bool property to prevent back button from ever displaying.
  2. If back button is displayed and clicked, raise an event and pass the popup that is now showing.

I'd be totally happy with approach 1, extra credit for approach 2.  If anyone at esri has thoughts on how suppressing this could happen without changes to the control code, I'd love your feedback.

Due to the multi-platform codebase, I don't have the necessary experience to implement and issue a pull request.

Screen grab for clarity... thank you in advance.

Screenshot 2025-10-21 100142.png

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

The back button should only show if you drill into sub-features like related features or utility network associations. If that's not the case, please log a bug in the toolkit repo.

View solution in original post

2 Replies
dotMorten_esri
Esri Notable Contributor

The back button should only show if you drill into sub-features like related features or utility network associations. If that's not the case, please log a bug in the toolkit repo.

Mike_Quetel
Frequent Contributor
0 Kudos