<?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 Re: QueryBuilderControl with DataConnection (not MapMember) in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/querybuildercontrol-with-dataconnection-not/m-p/1686657#M13458</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1162"&gt;@AdamDavis&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The QueryBuilderControl only works with a MapMember by design and there's no workaround for that.&lt;/P&gt;&lt;P&gt;The closest you can get with features offered by ArcGIS Pro is to leverage the Query Layer functionality (CommandID esri_mapping_makeQueryLayerButton) that takes a data connection but you'd have to build a UI for it.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Feb 2026 18:19:18 GMT</pubDate>
    <dc:creator>SelimDissem</dc:creator>
    <dc:date>2026-02-25T18:19:18Z</dc:date>
    <item>
      <title>QueryBuilderControl with DataConnection (not MapMember)</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/querybuildercontrol-with-dataconnection-not/m-p/1685626#M13449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the inbuilt QueryBuilderControl successfully with a FeatureLayer but need to use it straight from a Feature Class. Unfortunately, the control only seems to be able take a MapMember (ie Layer or Table).&lt;/P&gt;&lt;P&gt;Is there any way to use it with a DataConnection? The Select Features GP tool seems to be able to work that way. I did see that there is a TextExpressionBuilder control that can take a DataConnection but it is internal.&lt;/P&gt;&lt;P&gt;One other way I thought I might get round it is to make and use a Layer object (and not add it to a Map) but the Layer Factory forces addition to a map? Is there a sneaky way to make a Layer object without adding to a map?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 20:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/querybuildercontrol-with-dataconnection-not/m-p/1685626#M13449</guid>
      <dc:creator>AdamDavis</dc:creator>
      <dc:date>2026-02-20T20:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: QueryBuilderControl with DataConnection (not MapMember)</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/querybuildercontrol-with-dataconnection-not/m-p/1686657#M13458</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1162"&gt;@AdamDavis&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The QueryBuilderControl only works with a MapMember by design and there's no workaround for that.&lt;/P&gt;&lt;P&gt;The closest you can get with features offered by ArcGIS Pro is to leverage the Query Layer functionality (CommandID esri_mapping_makeQueryLayerButton) that takes a data connection but you'd have to build a UI for it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 18:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/querybuildercontrol-with-dataconnection-not/m-p/1686657#M13458</guid>
      <dc:creator>SelimDissem</dc:creator>
      <dc:date>2026-02-25T18:19:18Z</dc:date>
    </item>
  </channel>
</rss>

