<?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 dataset names in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068430#M6738</link>
    <description>&lt;P&gt;What do you mean by "database name"? &amp;nbsp;File and mobile&amp;nbsp;geodatabases have a path, feature service geodatabases have a service URL, and enterprise&amp;nbsp;geodatabases have a collection of connection properties. &amp;nbsp;What is it you are looking for?&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 15:56:26 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2021-06-15T15:56:26Z</dc:date>
    <item>
      <title>Get dataset names</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068417#M6737</link>
      <description>&lt;P&gt;I can get layer name from active map.&amp;nbsp; Now i need to get database name.&amp;nbsp; I can get datastore from a basic feature layer object and then get database from the datastore.&amp;nbsp; I need to get dataset names not table names.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 15:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068417#M6737</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2021-06-15T15:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get dataset names</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068430#M6738</link>
      <description>&lt;P&gt;What do you mean by "database name"? &amp;nbsp;File and mobile&amp;nbsp;geodatabases have a path, feature service geodatabases have a service URL, and enterprise&amp;nbsp;geodatabases have a collection of connection properties. &amp;nbsp;What is it you are looking for?&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 15:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068430#M6738</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-06-15T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get dataset names</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068486#M6742</link>
      <description>&lt;P&gt;Rich's question notwithstanding and assuming it is the names of the datasets within a gdb u are after, this snippet might help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#obtaining-list-of-defintions-from-geodatabase" target="_blank"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#obtaining-list-of-defintions-from-geodatabase&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note the line in question: Call "GetName()" on each definition to get the dataset name.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-k"&gt;IReadOnlyList&lt;/SPAN&gt;&amp;lt;&lt;SPAN class="pl-k"&gt;FeatureDatasetDefinition&lt;/SPAN&gt;&amp;gt; &lt;SPAN class="pl-en"&gt;featureDatasetDefinitions&lt;/SPAN&gt; &lt;SPAN class="pl-k"&gt;=&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="pl-smi"&gt;                             geodatabase&lt;/SPAN&gt;.&lt;SPAN class="pl-en"&gt;GetDefinitions&lt;/SPAN&gt;&amp;lt;&lt;SPAN class="pl-k"&gt;FeatureDatasetDefinition&lt;/SPAN&gt;&amp;gt;();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 17:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068486#M6742</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2021-06-15T17:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get dataset names</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068490#M6743</link>
      <description>&lt;P&gt;It is an Oracle SDE database.&amp;nbsp; Sorry I was not clear.&amp;nbsp; I will try the code&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;CarlesMacleod&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Contributor lia-component-message-view-widget-author-username"&gt;&amp;nbsp;displayed below and see how it goes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Contributor lia-component-message-view-widget-author-username"&gt;In our SDE database,&amp;nbsp; we have many datasets.&amp;nbsp; I want to be able to list the dataset names and allow user to select ONE dataset and loop through the feature layers in it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Contributor lia-component-message-view-widget-author-username"&gt;Thank you all!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 17:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/get-dataset-names/m-p/1068490#M6743</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2021-06-15T17:16:48Z</dc:date>
    </item>
  </channel>
</rss>

