<?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: Change database connection for all layers in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729583#M32025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the data source of layers by right clicking on the layer in the Contents pane &amp;gt; Properties &amp;gt; Source tab &amp;gt; Change data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/help/mapping/map-authoring/repair-broken-data-links.htm" title="http://pro.arcgis.com/en/pro-app/help/mapping/map-authoring/repair-broken-data-links.htm"&gt;Repair broken data links—ArcGIS Pro | ArcGIS for Professionals&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 16:20:01 GMT</pubDate>
    <dc:creator>QuinnFrancis</dc:creator>
    <dc:date>2015-06-17T16:20:01Z</dc:date>
    <item>
      <title>Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729582#M32024</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;how is it in ArcGis Pro possible to change the database connection datasource for all Layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-06-17 11_20_46-ArcGIS Pro - MyProject4 - Map.png" class="image-1 jive-image" src="/legacyfs/online/110766_2015-06-17 11_20_46-ArcGIS Pro - MyProject4 - Map.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thank your for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Experience:&lt;/SPAN&gt; With ArcCatalog it was possible to change mxd files datasouce of layers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 09:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729582#M32024</guid>
      <dc:creator>DavidVent</dc:creator>
      <dc:date>2015-06-17T09:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729583#M32025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the data source of layers by right clicking on the layer in the Contents pane &amp;gt; Properties &amp;gt; Source tab &amp;gt; Change data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/help/mapping/map-authoring/repair-broken-data-links.htm" title="http://pro.arcgis.com/en/pro-app/help/mapping/map-authoring/repair-broken-data-links.htm"&gt;Repair broken data links—ArcGIS Pro | ArcGIS for Professionals&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 16:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729583#M32025</guid>
      <dc:creator>QuinnFrancis</dc:creator>
      <dc:date>2015-06-17T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729584#M32026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Server question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only do the Change data Source for multiple IF the links are broken.&amp;nbsp; Depending on the situation, one would/could update broken links layer by layer. Update all broken links in Dataframe at once. But what if there are No broken links but want to change the source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David does not state 'broken layers' anywhere...but rather 'how to change the database conneciton datasource in all layers'&lt;/P&gt;&lt;P&gt;I use py to re-source all layers with the following example:&amp;nbsp; &lt;/P&gt;&lt;P&gt;*caveat: the new datasource must include all the FeatureClasses etc used in the original&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import arcpy&lt;/P&gt;&lt;P&gt;mxd = arcpy.mapping.MapDocument("CURRENT")&lt;/P&gt;&lt;P&gt;mxd.findAndReplaceWorkspacePaths(r"Database Connections\xxxxx.sde",r"Database Connections\xxxx.sde")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729584#M32026</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-06-17T19:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729585#M32027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, one layer by one layer.&amp;nbsp; For now it's in planing phase for change datasource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri doesn't understand this need so no rush on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the waiting time, i'm doing this by creating a broken link (putting a x before the name of the database) after the project is closed.&amp;nbsp; Then, I repair multiple link with these instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/fr/pro-app/help/mapping/layer-properties/repair-broken-data-links.htm" title="https://pro.arcgis.com/fr/pro-app/help/mapping/layer-properties/repair-broken-data-links.htm"&gt;Réparer des liaisons de données endommagées—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of some help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729585#M32027</guid>
      <dc:creator>MarcelSt-Germain</dc:creator>
      <dc:date>2020-02-12T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729586#M32028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this will work in you situation, but I sometimes export the map to a mapx, open in notepad++ and use find and replace.  Mapx is a json file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 16:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729586#M32028</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-02-12T16:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729587#M32029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;But, just changing the source in pro by creating a broken link is simpler for me.&amp;nbsp; Maybe one day they will include link management.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 13:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729587#M32029</guid>
      <dc:creator>MarcelSt-Germain</dc:creator>
      <dc:date>2020-05-28T13:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729588#M32030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2.6 has some good stuff coming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 14:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729588#M32030</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2020-05-28T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change database connection for all layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729589#M32031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, can't wait to see.&amp;nbsp; Date of release for 2.6 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2020 15:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/change-database-connection-for-all-layers/m-p/729589#M32031</guid>
      <dc:creator>MarcelSt-Germain</dc:creator>
      <dc:date>2020-05-28T15:20:28Z</dc:date>
    </item>
  </channel>
</rss>

