<?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: Move feature classes out of feature dataset in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163446#M9102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I tested on my end and I could reproduce the behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior is only observed for Feature Classes which are already added&amp;nbsp;to Map, not otherwise.&amp;nbsp;I am not sure if these will cause any issues, however it may cause confusion for sure, so its surely better to fix them if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only solution I found:&lt;/P&gt;&lt;P&gt;Remove the affected FC from the Map Contents, refresh the connection and re-add the FC to the map. Now check the source, it doesn't refer to the Feature Dataset anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Note: Always try on a backup first and not directly on Production.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2020 05:33:31 GMT</pubDate>
    <dc:creator>Asrujit_SenGupta</dc:creator>
    <dc:date>2020-09-03T05:33:31Z</dc:date>
    <item>
      <title>Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163438#M9094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an enterprise geodatabase with a number of feature datasets. Every feature dataset has a number of feature classes and relationship classes. The relationship classes are pointing to feature classes in the same feature dataset but also to feature classes in other feature dataset in the sama geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The geodatabase is used by ArcGIS Server, FME and various scripts that we don't want to remake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method or way to move all feature classes and relationship classes to the root of the geodatabase? I know that it doesn't matter for the arcgis server and FME if the feature class is in an feature dataset or the root, it will find it anyway. However, I have big time issues with moving/copying this relationship classes. If I simply use the method of copying data with new name --&amp;gt;delete old files and rename the new, the relationship classes will stop working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an dead end? Better to delete all reationship classes, move data and make new ones? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 06:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163438#M9094</guid>
      <dc:creator>OlovMelin</dc:creator>
      <dc:date>2019-11-28T06:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163439#M9095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is a dead end. You can create relationships with a geoprocessing tool, so that could save some typing and reduce errors if you use similar options and naming conventions for the parameters in the relationship. Just edit the Results of the tool for each feature, or build a little model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 19:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163439#M9095</guid>
      <dc:creator>DanaNolan</dc:creator>
      <dc:date>2019-11-29T19:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163440#M9096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;1. Select all the Feature Classes and Relationship Classes inside a Feature dataset&lt;/P&gt;&lt;P&gt;2. Drag and drop them on the root, basically drag and drop on the sde connection file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: Try on a backup first and not directly on Production.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Dec 2019 11:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163440#M9096</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2019-12-01T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163441#M9097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, and thanks for your reply. This method only works if the relationship classes reference to featureclasses &lt;STRONG&gt;in the same feature dataset&lt;/STRONG&gt;. Otherwise it will also copy and paste the other feature datasets automatically. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 08:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163441#M9097</guid>
      <dc:creator>OlovMelin</dc:creator>
      <dc:date>2019-12-09T08:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163442#M9098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not Copy/Paste. I suggested Drag and Drop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 08:17:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163442#M9098</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2019-12-09T08:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163443#M9099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;. I will try it right away!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 08:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163443#M9099</guid>
      <dc:creator>OlovMelin</dc:creator>
      <dc:date>2019-12-09T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163444#M9100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That action worked. Many thanks &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 10:03:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163444#M9100</guid>
      <dc:creator>OlovMelin</dc:creator>
      <dc:date>2019-12-09T10:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163445#M9101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After doing what you describe, do you know the most efficient way to fix references in Pro maps to these feature classes?&lt;/P&gt;&lt;P&gt;In a development environment I successfully dragged/dropped feature classes &amp;amp; relationship classes out of a feature dataset. (My plan is to eventually delete this feature dataset.) However I have maps that use these feature classes and relationship classes in their layers. And I noticed that when I check the source of the layers, it still references the old feature dataset. These maps are published to our development Portal. And nothing seems to be broken in there. But I'm thinking these incorrect references will probably cause issues somewhere along the line. Do you know what is the best way to fix them?&lt;IMG alt="Pro map with layer source reflecting a feature dataset that the feature class is no longer in." class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/506247_FCatRoot_reflectsFtrDataset.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2020 19:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163445#M9101</guid>
      <dc:creator>AngelaDeegan</dc:creator>
      <dc:date>2020-09-02T19:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163446#M9102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I tested on my end and I could reproduce the behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior is only observed for Feature Classes which are already added&amp;nbsp;to Map, not otherwise.&amp;nbsp;I am not sure if these will cause any issues, however it may cause confusion for sure, so its surely better to fix them if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only solution I found:&lt;/P&gt;&lt;P&gt;Remove the affected FC from the Map Contents, refresh the connection and re-add the FC to the map. Now check the source, it doesn't refer to the Feature Dataset anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Note: Always try on a backup first and not directly on Production.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 05:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163446#M9102</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2020-09-03T05:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163447#M9103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for checking into this and letting me know your findings. I'm currently looking to see if there's a programmatic way to do this by leveraging getDefinition on Layer. So far I have only been able to display the feature dataset for layers in a map, but not change it. I think really what I need to be able to do is remove the featureDataset attribute for the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;def &lt;/SPAN&gt;updateFDstToRoot(prj, mp):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;##Script to display any FCs that still indicate they are in the 'gis.sde.WaterDistributionRelated' feature dataset - though all feature classes were moved (dragged/dropped) from it to 'root;

&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;arcpy, sys
&lt;SPAN style="color: #808080;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;aprx = arcpy.mp.ArcGISProject(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;r'C:\Users\angela\Documents\ArcGIS\Projects\DEVwork\{}.aprx'&lt;/SPAN&gt;.format(prj))

    &lt;SPAN style="color: #808080;"&gt;#Get list of all the maps in the project
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;mps = aprx.listMaps()
    &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;r"There are {} maps in project {}"&lt;/SPAN&gt;.format(&lt;SPAN style="color: #000080;"&gt;len&lt;/SPAN&gt;(mps), prj))
    &lt;SPAN style="color: #808080;"&gt;#print(mps)
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;mnames = []
    &lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;m &lt;SPAN style="color: #000080; font-weight: bold;"&gt;in &lt;/SPAN&gt;mps:
        mnames.append(m.name)
    &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #000080;"&gt;len&lt;/SPAN&gt;(mnames))

    &lt;SPAN style="color: #808080;"&gt;#Get the index of the map we want to work on
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;map_pos = mnames.index(mp)
    &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;r'{} is in position {}'&lt;/SPAN&gt;.format(mp, map_pos))

    &lt;SPAN style="color: #808080;"&gt;#Get a handle on the map
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;m = mps[map_pos]
    &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(m.name)

    lyrs = m.listLayers()
    &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #000080;"&gt;len&lt;/SPAN&gt;(lyrs))
    &lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;l &lt;SPAN style="color: #000080; font-weight: bold;"&gt;in &lt;/SPAN&gt;lyrs:
        lCIM = l.getDefinition(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'V2'&lt;/SPAN&gt;)
        &lt;SPAN style="color: #000080; font-weight: bold;"&gt;try&lt;/SPAN&gt;:
            dc = lCIM.featureTable.dataConnection
        &lt;SPAN style="color: #000080; font-weight: bold;"&gt;except &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Exception &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;Ex&lt;/SPAN&gt;:&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'******Failed: {}&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;Line: {}&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;\n&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'&lt;/SPAN&gt;.format(Ex, sys.exc_info()[-&lt;SPAN style="color: #0000ff;"&gt;1&lt;/SPAN&gt;].tb_lineno))&lt;/PRE&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/SPAN&gt;:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;hasattr&lt;/SPAN&gt;(dc, &lt;SPAN style="color: #008080; font-weight: bold;"&gt;'featureDataset'&lt;/SPAN&gt;):&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;dc.featureDataset == &lt;SPAN style="color: #008080; font-weight: bold;"&gt;'gis.sde.WaterDistributionRelated'&lt;/SPAN&gt;:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"**** {} needs updating"&lt;/SPAN&gt;.format(l.name))&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;else&lt;/SPAN&gt;:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"{} DOES NOT NEED updating"&lt;/SPAN&gt;.format(l.name))&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #808080;"&gt;#aprx.save()&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;del &lt;/SPAN&gt;aprx&lt;BR /&gt;&lt;BR /&gt;updateFDstToRoot(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'DEVwork'&lt;/SPAN&gt;, &lt;SPAN style="color: #008080; font-weight: bold;"&gt;r'EngineeringViewer-DevDB'&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:33:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/163447#M9103</guid>
      <dc:creator>AngelaDeegan</dc:creator>
      <dc:date>2021-12-11T08:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006671#M42869</link>
      <description>&lt;P&gt;Hi Angela,&lt;/P&gt;&lt;P&gt;Did you ever figure out how to remove the feature dataset attribute from a layer's CIM connection properties?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Marshal&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006671#M42869</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2020-12-03T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006828#M42870</link>
      <description>&lt;P&gt;I'm afraid I didn't. Ended up doing it manually. It was a pain. And when I deleted the empty feature datasets, the layers corresponding to feature classes that had been in those feature datasets stopped displaying in the web map that had been published. So we had to re-publish the services.&lt;/P&gt;&lt;P&gt;Hope that helps. This was a couple of months back, so it's getting fuzzy already!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 23:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006828#M42870</guid>
      <dc:creator>AngelaDeegan</dc:creator>
      <dc:date>2020-12-03T23:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006839#M42871</link>
      <description>&lt;P&gt;Thanks for the response and update!&amp;nbsp; I broke lots of projects moving data out of feature datasets recently, so I was struggling with this.&lt;/P&gt;&lt;P&gt;I did finally come up with a solution which I describe in my post below.&amp;nbsp; Although my situation was pretty straight forward since all layer connection info (feature class name, database location, database name) was the same except removing from the feature dataset, but maybe it can help if you run into this again.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/remove-featuredataset-attribute-from-layer-cim-connection/td-p/1006668/jump-to/first-unread-message" target="_blank"&gt;https://community.esri.com/t5/python-questions/remove-featuredataset-attribute-from-layer-cim-connection/td-p/1006668/jump-to/first-unread-message&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 23:38:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1006839#M42871</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2020-12-03T23:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1067286#M43375</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I reproduce the drag nd drop behavior programmatically? I have seen several post about copy, delete, rename operations, but it is not the same result as drag and drop.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 09:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1067286#M43375</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2021-06-11T09:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1319150#M44664</link>
      <description>&lt;P&gt;For anyone who's interested, here's a GIF that demonstrates an FC being moved in and out of an FD by dragging and dropping in Catalog (ArcGIS Pro 2.6.8):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Drag-and-drop FC in and out of FD - V2.gif" style="width: 851px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78229iADBBDC7437EA2652/image-size/large?v=v2&amp;amp;px=999" role="button" title="Drag-and-drop FC in and out of FD - V2.gif" alt="Drag-and-drop FC in and out of FD - V2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1319150#M44664</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-08-16T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1472902#M45154</link>
      <description>&lt;P&gt;Did you have any luck with this? We have many layers within feature datasets in our production databases from the olden times. In my testing I found that if I move layers outside of the feature datasets all the MXDs and APRXs still work but they still reference the FDS. If I remove the now empty FDS from the database, all the map documents will break.&lt;/P&gt;&lt;P&gt;On a related note I am also hoping for a way to be able to move, not copy layers in/out of an FDS using arcpy. All the posts I have found refer to making a copy. This isn't feasible in our situation as it plays havoc with relationship classes, domains, archives etc. In the past we had to write a little ArcMap SDK executable that would do this. Since we have things like attribute rules now this won't work. An arcpy solution would be the best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 14:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1472902#M45154</guid>
      <dc:creator>AllanBenvin_yyc</dc:creator>
      <dc:date>2024-05-15T14:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1478552#M45192</link>
      <description>&lt;P&gt;Just wondering if you found a programmatic way to fix the reference to feature datasets in existing MXD/APRX documents.&lt;/P&gt;&lt;P&gt;We have a whack of layers in feature datasets and want to move them out. it seems we can move them out of the FDS but if we delete the FDS then we break everything. We have over a thousand users with map documents all over the place.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 17:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1478552#M45192</guid>
      <dc:creator>AllanBenvin_yyc</dc:creator>
      <dc:date>2024-05-24T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Move feature classes out of feature dataset</title>
      <link>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1478640#M45193</link>
      <description>&lt;P&gt;Yes, I was able to use the concept and code from my post below to repair APRX documents.&amp;nbsp; The missing part would be use os.walk to find APRX documents, check if they have broken data connections, and add them to a list of documents to be repaired if so.&lt;/P&gt;&lt;P&gt;My case was a single geodatabase with a single feature dataset.&amp;nbsp; So if you are talking about multiple geodatabases and multiple feature datasets it will take a bit more setup to have the correct templates for each scenario.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/remove-featuredataset-attribute-from-layer-cim/m-p/1006668#M59205" target="_blank"&gt;https://community.esri.com/t5/python-questions/remove-featuredataset-attribute-from-layer-cim/m-p/1006668#M59205&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 19:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/move-feature-classes-out-of-feature-dataset/m-p/1478640#M45193</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2024-05-24T19:46:37Z</dc:date>
    </item>
  </channel>
</rss>

