Select to view content in your preferred language

Draw widget to select features on dashboard?

1459
2
Jump to solution
01-14-2022 06:21 AM
natasha
Emerging Contributor

Is there a way to enable the user to select/filter features on a map in a dashboard by drawing a selection directly on the map, similar to the Draw widget for webappbuilder?

0 Kudos
1 Solution

Accepted Solutions
AdrianWelsh
MVP Honored Contributor

Hi Natasha,

Yes, you can do this. Initializing the selector for the map is found in the map's configuration settings and then under layer actions. Here is a 'how to' article on doing this. It works quite well but not always intuitive to a non-GIS user on how to use it and especially on how to remove your selection (there is a little X with a numeric count that you have to click to clear the selection).

https://support.esri.com/en/technical-article/000023962

 

I am not sure that article spells it out nicely, so here are the steps I took for this.

1. On your map widget, choose Configure:

AdrianWelsh_0-1642171417035.png

 

2. Go to Layer Actions

AdrianWelsh_1-1642171452241.png

 

3. Find the layer that will be affected by the selection and choose Filter:

AdrianWelsh_2-1642171497626.png

 

4. From here you can change what elements get filtered out based on the map selection:

Under Add Target, choose your elements

AdrianWelsh_3-1642171581684.png

 

5. After hitting "Done" and going back to the map, you will see a selection option at the top left corner that you can drop down and choose how you want to select your objects

AdrianWelsh_4-1642171639678.png

 

6. Perform the selection and then watch the 'action' element change!

7. To clear the selection, press the X next to the selection number:

AdrianWelsh_5-1642171689660.png

 

View solution in original post

2 Replies
AdrianWelsh
MVP Honored Contributor

Hi Natasha,

Yes, you can do this. Initializing the selector for the map is found in the map's configuration settings and then under layer actions. Here is a 'how to' article on doing this. It works quite well but not always intuitive to a non-GIS user on how to use it and especially on how to remove your selection (there is a little X with a numeric count that you have to click to clear the selection).

https://support.esri.com/en/technical-article/000023962

 

I am not sure that article spells it out nicely, so here are the steps I took for this.

1. On your map widget, choose Configure:

AdrianWelsh_0-1642171417035.png

 

2. Go to Layer Actions

AdrianWelsh_1-1642171452241.png

 

3. Find the layer that will be affected by the selection and choose Filter:

AdrianWelsh_2-1642171497626.png

 

4. From here you can change what elements get filtered out based on the map selection:

Under Add Target, choose your elements

AdrianWelsh_3-1642171581684.png

 

5. After hitting "Done" and going back to the map, you will see a selection option at the top left corner that you can drop down and choose how you want to select your objects

AdrianWelsh_4-1642171639678.png

 

6. Perform the selection and then watch the 'action' element change!

7. To clear the selection, press the X next to the selection number:

AdrianWelsh_5-1642171689660.png

 

natasha
Emerging Contributor

That's awesome! Thanks so much!

0 Kudos