AnsweredAssumed Answered

How to toggle/change selectability of a Feature layer?

Question asked by jquinada on Nov 2, 2017
Latest reply on Nov 3, 2017 by rscheitlin



I'm creating a web map in which I will need to change/toggle the selectability of a Feature layer. Is there any way to do this? I've looked through the API for the FeatureLayer class but don't see anything like what I'm looking for:

FeatureLayer | API Reference | ArcGIS API for JavaScript 3.22 

I would expect to see something like "IsSelectable" or "Seletable" but don't see anything like it. In Server Manager there is also nothing to change the selectability of my service. Is it not possible to do this at all, or am I missing something?