<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SubtypeGroupLayer: Set definition query in 2.2 SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/subtypegrouplayer-set-definition-query-in-2-2-sdk/m-p/842674#M3929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I programmatically set a definition query on a SubtypeGroupLayer found in the Table of Contents?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ArcGIS Pro SDK, a FeatureLayer has access to &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11393.html"&gt;this method&lt;/A&gt; to set a definition query, and can be done manually in the UI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a SubtypeGroupLayer has the UI capability to build a definition query,&amp;nbsp;but no SDK call. Furthermore, any FeatureLayers that are children of this group can't call this method without throwing an InvalidOperationException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this missing functionality, or is there a different way&amp;nbsp;we're meant to&amp;nbsp;go about doing this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end goal is to filter and zoom to a specific set of features that correspond to given IDs.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2018 22:05:47 GMT</pubDate>
    <dc:creator>GrayBohnen</dc:creator>
    <dc:date>2018-07-17T22:05:47Z</dc:date>
    <item>
      <title>SubtypeGroupLayer: Set definition query in 2.2 SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/subtypegrouplayer-set-definition-query-in-2-2-sdk/m-p/842674#M3929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I programmatically set a definition query on a SubtypeGroupLayer found in the Table of Contents?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ArcGIS Pro SDK, a FeatureLayer has access to &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11393.html"&gt;this method&lt;/A&gt; to set a definition query, and can be done manually in the UI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a SubtypeGroupLayer has the UI capability to build a definition query,&amp;nbsp;but no SDK call. Furthermore, any FeatureLayers that are children of this group can't call this method without throwing an InvalidOperationException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this missing functionality, or is there a different way&amp;nbsp;we're meant to&amp;nbsp;go about doing this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end goal is to filter and zoom to a specific set of features that correspond to given IDs.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 22:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/subtypegrouplayer-set-definition-query-in-2-2-sdk/m-p/842674#M3929</guid>
      <dc:creator>GrayBohnen</dc:creator>
      <dc:date>2018-07-17T22:05:47Z</dc:date>
    </item>
  </channel>
</rss>

