<?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 Get selected records from the attribute table using the SDK in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-selected-records-from-the-attribute-table/m-p/1561489#M12328</link>
    <description>&lt;P&gt;Using ArcGIS Pro 3.2 - there's a button on the attribute table UI that allows the user to copy selected records and paste them to the clipboard. I would like to capture that record array, serialize it, and send it to an external website. I've found methods in the SDK to get the selected object IDs or row indices, but nothing after that. My guess is absent of a method that allows me to grab the selection and use it, I have to query the feature layer/table using the collected IDs/indices and put the results in an array for further use.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 21:18:22 GMT</pubDate>
    <dc:creator>TyroneLigon1</dc:creator>
    <dc:date>2024-11-21T21:18:22Z</dc:date>
    <item>
      <title>Get selected records from the attribute table using the SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-selected-records-from-the-attribute-table/m-p/1561489#M12328</link>
      <description>&lt;P&gt;Using ArcGIS Pro 3.2 - there's a button on the attribute table UI that allows the user to copy selected records and paste them to the clipboard. I would like to capture that record array, serialize it, and send it to an external website. I've found methods in the SDK to get the selected object IDs or row indices, but nothing after that. My guess is absent of a method that allows me to grab the selection and use it, I have to query the feature layer/table using the collected IDs/indices and put the results in an array for further use.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 21:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-selected-records-from-the-attribute-table/m-p/1561489#M12328</guid>
      <dc:creator>TyroneLigon1</dc:creator>
      <dc:date>2024-11-21T21:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get selected records from the attribute table using the SDK</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-selected-records-from-the-attribute-table/m-p/1561754#M12331</link>
      <description>&lt;P&gt;You can enumerate the selected records using Selection.Search()&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;   //Enumerate over the selected features
    using (var rc = selection.Search())
    {
      while (rc.MoveNext())
      {
        using (var feature = rc.Current as Feature)
        {
          var oid = feature.GetObjectID();
          //etc.
        }
      }
    }&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 Nov 2024 16:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-selected-records-from-the-attribute-table/m-p/1561754#M12331</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2024-11-22T16:20:22Z</dc:date>
    </item>
  </channel>
</rss>

