<?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: Get FileGDB name(s) of MapView.Active.GetSelectedLayers() in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275260#M9600</link>
    <description>&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;Megathanks - I'll give this a try tomorrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 14:02:04 GMT</pubDate>
    <dc:creator>Zoltan_Szecsei</dc:creator>
    <dc:date>2023-04-04T14:02:04Z</dc:date>
    <item>
      <title>Get FileGDB name(s) of MapView.Active.GetSelectedLayers()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275109#M9598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using OnMapSelectionChangedEvent()&amp;nbsp; to trap when a user clicks in the TOC.&lt;/P&gt;&lt;P&gt;How can I get the FileGDB (or SHP, or Raster image etc) name from the clicked Map item?&lt;/P&gt;&lt;P&gt;Yes, I have to filter out Group names etc from the Selected Layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 08:05:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275109#M9598</guid>
      <dc:creator>Zoltan_Szecsei</dc:creator>
      <dc:date>2023-04-04T08:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get FileGDB name(s) of MapView.Active.GetSelectedLayers()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275254#M9599</link>
      <description>&lt;P&gt;Within a QueuedTask, you can get the data connection from the feature layer, then look at its workspace connection string. It'll have a value like "DATABASE=path_to_database.gdb" or "DATABASE=path_to_folder" in the case of a file system raster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;await QueuedTask.Run(() =&amp;gt;
{
    var layerConnection = featureLayer.GetDataConnection() as CIMStandardDataConnection;
    var workspaceConnectionString = layerConnection.WorkspaceConnectionString;
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 13:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275254#M9599</guid>
      <dc:creator>tempStephenRhea_NV5</dc:creator>
      <dc:date>2023-04-04T13:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get FileGDB name(s) of MapView.Active.GetSelectedLayers()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275260#M9600</link>
      <description>&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;Megathanks - I'll give this a try tomorrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 14:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-filegdb-name-s-of-mapview-active/m-p/1275260#M9600</guid>
      <dc:creator>Zoltan_Szecsei</dc:creator>
      <dc:date>2023-04-04T14:02:04Z</dc:date>
    </item>
  </channel>
</rss>

