<?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 BasicFeatureLayer.Select()  gives error &amp;quot;This operation is not supported by this implementation&amp;quot; in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/basicfeaturelayer-select-gives-error-quot-this/m-p/1161482#M8005</link>
    <description>&lt;P&gt;I'm using &lt;STRONG&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#querytable" target="_self"&gt;QueryTable&lt;/A&gt; &lt;/STRONG&gt;to get data from .sde geodatabase and from the restulted table I create &lt;STRONG&gt;FeatureLayer&lt;/STRONG&gt; (LayerFactory.Instance.CreateFeatureLayer()). Then I try to select records from that layer using&amp;nbsp;BasicFeatureLayer.Select() / Select(qf) but always get an error "This operation is not supported by this implementation". The documentation says "&lt;SPAN&gt;Selections against QueryTables are not supported on enterprise geodatabases", does this mean that there's no way to select records from QueryTable / virtual table added to the map or is there any workaround? Then again, I am able to select features manually in ArcGIS Pro GUI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 08:25:05 GMT</pubDate>
    <dc:creator>kirken</dc:creator>
    <dc:date>2022-04-06T08:25:05Z</dc:date>
    <item>
      <title>BasicFeatureLayer.Select()  gives error "This operation is not supported by this implementation"</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/basicfeaturelayer-select-gives-error-quot-this/m-p/1161482#M8005</link>
      <description>&lt;P&gt;I'm using &lt;STRONG&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#querytable" target="_self"&gt;QueryTable&lt;/A&gt; &lt;/STRONG&gt;to get data from .sde geodatabase and from the restulted table I create &lt;STRONG&gt;FeatureLayer&lt;/STRONG&gt; (LayerFactory.Instance.CreateFeatureLayer()). Then I try to select records from that layer using&amp;nbsp;BasicFeatureLayer.Select() / Select(qf) but always get an error "This operation is not supported by this implementation". The documentation says "&lt;SPAN&gt;Selections against QueryTables are not supported on enterprise geodatabases", does this mean that there's no way to select records from QueryTable / virtual table added to the map or is there any workaround? Then again, I am able to select features manually in ArcGIS Pro GUI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 08:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/basicfeaturelayer-select-gives-error-quot-this/m-p/1161482#M8005</guid>
      <dc:creator>kirken</dc:creator>
      <dc:date>2022-04-06T08:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: BasicFeatureLayer.Select()  gives error "This operation is not supported by this implementation"</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/basicfeaturelayer-select-gives-error-quot-this/m-p/1161541#M8006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried Query Layers? The description of the query layers is on the same page as your QueryTable link. Just below few lines. Code is very similar. Example below is from ArcGIS Pro SDK samples:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;    private void MakeQueryLayer(string commaSeparatedFields, Table leftTable, Table rightTable)
    {
      string fields = string.IsNullOrEmpty(commaSeparatedFields) ? "*" : commaSeparatedFields;
      var database = leftTable.GetDatastore() as Database;
      var joinClause = IsLeftOuterJoin
        ? $"{leftTable.GetName()} LEFT OUTER JOIN {rightTable.GetName()} ON {leftTable.GetName()}.{_leftField.Name} = {rightTable.GetName()}.{_rightField.Name}"
        : $"{leftTable.GetName()} INNER JOIN {rightTable.GetName()} ON {leftTable.GetName()}.{_leftField.Name} = {rightTable.GetName()}.{_rightField.Name}";
      var queryDescription = database.GetQueryDescription($"SELECT {fields} FROM {joinClause}", LayerName);
      var table = database.OpenTable(queryDescription);
      LayerFactory.Instance.CreateFeatureLayer(table as FeatureClass, MapView.Active.Map, 0, LayerName);
    }&lt;/LI-CODE&gt;&lt;P&gt;All sample code here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geodatabase/DynamicJoins" target="_self"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geodatabase/DynamicJoins&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 13:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/basicfeaturelayer-select-gives-error-quot-this/m-p/1161541#M8006</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-04-06T13:31:09Z</dc:date>
    </item>
  </channel>
</rss>

