Selection Manager missing "Select from current selection"

587
3
Jump to solution
05-20-2019 04:54 AM
GianniContino
New Contributor III

Hi all,

I'm experiencing an issue in WAB about Selection Manager class:

I need to set the tool so that it can make a selection among already selected features;

just like ArcMap (ArcGIS Desktop) does with its tool (see figure below)

I'm not able to find the correct option neither among Selection Class nor among ArcGIS API JS:

Selection manager class has:

setFeaturesToSelection, addFeaturesToSelection, removeFeaturesFromSelection

Any suggestion?

Thanks

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

The JS API does not have any option for this. The best thing you can do is get an array of Object Ids and then set the Queries ObjectIds array and then do your query where clause or Geometry.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

The JS API does not have any option for this. The best thing you can do is get an array of Object Ids and then set the Queries ObjectIds array and then do your query where clause or Geometry.

0 Kudos
GianniContino
New Contributor III

Ok, it seems a good solution.

Thanx, Robert.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos