Result Details/Results List
BeantwortetWhen a user clicks "remove all results", I would like the Results List (and Result Details, if applicable) tabs to automatically re-hide. Both are "Initially Hidden" by default and only appear once the Identify tool is used.
I hoped that just putting the Results List and Result Details tabs (along with Layer List and Legend) in a panel and enabling the "back" button would work, but the back button has disappeared and although it's "on", it is not showing up in my web app. I tried adjusting the panel width, but the back button still doesn't show up.
I was hoping I could change the "Remove result(s)" code to a custom code along these lines:
Thanks!
-
You are on the right track Alison. Assuming you started with Web GIS - Default. If you look at how the existing Clear Results tool is constructed you'll see:
["results.clear",{"name": "ui.deactivate","arguments": "item://results/results-config-1"}]You can extend this to also deactivate the result details view.["results.clear",{"name": "ui.deactivate","arguments": "item://results/results-config-1"},{"name": "ui.deactivate","arguments": "item://feature-details/feature-details-config-1"}]1 -
Cam Barnard We have a similar issue, where the back button is not appearing in our result panel although it is enabled in the designer, when we see the components no back button can be found. What could be the cause of this?
Thanks! Bump0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare