<?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: connectionProperties for a featureclass in a feature dataset in a gdb in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1089115#M6503</link>
    <description>&lt;P&gt;Hi David, thanks for your help. It looks like this is a bug/lack of implementation. Apparently the featuredataset property is not exposed using connectionProperties - which is pretty poor. See the following discussion.&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;A href="https://community.esri.com/t5/python-questions/updating-connection-info-via-python-from-sde-to/td-p/90805" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the bottom of documentation&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/updating-connection-info-via-python-from-sde-to/td-p/90805" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it seems I will have to use the&amp;nbsp;Cartographic Information Model (CIM) interface to repair a data source link!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’ll try to do it this way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Aug 2021 13:42:29 GMT</pubDate>
    <dc:creator>IanHamilton2</dc:creator>
    <dc:date>2021-08-14T13:42:29Z</dc:date>
    <item>
      <title>connectionProperties for a featureclass in a feature dataset in a gdb</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1088757#M6496</link>
      <description>&lt;P&gt;I am clipping layers in a map and then re- linking the layer in the map to the new data source. The clipped layer is always in a gdb, the original layer is&amp;nbsp; either in a shp or feature class in a gdb.&lt;/P&gt;&lt;P&gt;To re-link I get the connection properties of the original layer, then create a new connectionProperties for the clipped layer. This is generally working for shp and feature classes in a gdb. However when the original feature class is in a feature dataset it never works. I have tested the same data not in a feature dataset and it works.&lt;/P&gt;&lt;P&gt;I haven't been able to find an example of how to do this.&lt;/P&gt;&lt;P&gt;The connectionProperties from the feature class when inside or outside a feature dataset appear to be identical (no feature dataset name to be seen anywhere.)&lt;/P&gt;&lt;P&gt;I have a further complication in that one of the gdb's has a feature dataset and related tables.&lt;/P&gt;&lt;P&gt;In this instance I don't care about relinking relates or joins, I just want the clipped data.&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated,&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 03:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1088757#M6496</guid>
      <dc:creator>IanHamilton2</dc:creator>
      <dc:date>2021-08-13T03:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: connectionProperties for a featureclass in a feature dataset in a gdb</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1088888#M6498</link>
      <description>&lt;P&gt;How are you changing the connection? with arcpy? can you share your code? I'm guessing this isn't ArcGIS Python API related, or is this a GDB on AGOL or datastore?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 14:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1088888#M6498</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-08-13T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: connectionProperties for a featureclass in a feature dataset in a gdb</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1089115#M6503</link>
      <description>&lt;P&gt;Hi David, thanks for your help. It looks like this is a bug/lack of implementation. Apparently the featuredataset property is not exposed using connectionProperties - which is pretty poor. See the following discussion.&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;A href="https://community.esri.com/t5/python-questions/updating-connection-info-via-python-from-sde-to/td-p/90805" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the bottom of documentation&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/updating-connection-info-via-python-from-sde-to/td-p/90805" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it seems I will have to use the&amp;nbsp;Cartographic Information Model (CIM) interface to repair a data source link!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’ll try to do it this way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 13:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connectionproperties-for-a-featureclass-in-a/m-p/1089115#M6503</guid>
      <dc:creator>IanHamilton2</dc:creator>
      <dc:date>2021-08-14T13:42:29Z</dc:date>
    </item>
  </channel>
</rss>

