AnsweredAssumed Answered

SubtypeGroupLayer: Set definition query in 2.2 SDK?

Question asked by gray.bohnen_ssp on Jul 17, 2018

How can I programmatically set a definition query on a SubtypeGroupLayer found in the Table of Contents? 


In the ArcGIS Pro SDK, a FeatureLayer has access to this method to set a definition query, and can be done manually in the UI. 


However, a SubtypeGroupLayer has the UI capability to build a definition query, but no SDK call. Furthermore, any FeatureLayers that are children of this group can't call this method without throwing an InvalidOperationException.


Is this missing functionality, or is there a different way we're meant to go about doing this? 


The end goal is to filter and zoom to a specific set of features that correspond to given IDs.