<?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: Repair Data Source - New Data Location in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857759#M5601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've downloaded your add-in and every step works great until step 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error message:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400700" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400700_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently running 10.6 and here is a snippet of my "UpdateToNewDrive.csv"&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/400701_pastedImage_1.png" style="width: 620px; height: 48px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 17:54:22 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-04-05T17:54:22Z</dc:date>
    <item>
      <title>Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857754#M5596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I'm migrating my data to a new server and I have 1000's of MXD's which will have broken layers due to the new location of the data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a method of sourcing all these MXD's to the new data location from multiple machines using single-use licenses? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've come across this thread a couple times with no clear answer form what I could see. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 20:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857754#M5596</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-07T20:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857755#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use python to script the resourcing of all your map documents.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/updatingandfixingdatasources.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/updatingandfixingdatasources.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Updating and fixing data sources with arcpy.mapping—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple example would be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
 
mxd &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MapDocument&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\ResourceMe.mxd"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; lyr &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mapping&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListLayers&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mxd&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;isRasterLayer&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dataSource
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wsp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspacePath
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;datasetName
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;replaceDataSource&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\Users\userprofile\AppData\Roaming\ESRI\Desktop10.0\ArcCatalog\DirectConnect.sde"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"SDE_WORKSPACE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ds&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lyr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; ds
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;findAndReplaceWorkspacePaths&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\Users\userprofile\AppData\Roaming\ESRI\Desktop10.0\ArcCatalog\AppSvr10.sde"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\Users\userprofile\AppData\Roaming\ESRI\Desktop10.0\ArcCatalog\DirectConnect.sde"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&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;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
mxd&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;saveACopy&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\ResourceMe1.mxd"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;del&lt;/SPAN&gt; mxd
 
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; complete&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857755#M5597</guid>
      <dc:creator>TinaMorgan1</dc:creator>
      <dc:date>2021-12-12T10:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857756#M5598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just thought you could use &lt;STRONG&gt;Syntax Highlighter&lt;/STRONG&gt; while writing a script here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="397412" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/397412_pastedImage_1.png" style="width: 620px; height: 263px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 23:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857756#M5598</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2018-02-23T23:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857757#M5599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That just made my life so much better, and it is Friday!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 00:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857757#M5599</guid>
      <dc:creator>TinaMorgan1</dc:creator>
      <dc:date>2018-02-24T00:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857758#M5600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also check our my addin&amp;nbsp; &lt;A href="https://community.esri.com/blogs/myAlaskaGIS/2015/08/31/python-addin-for-data-inventory-and-broken-link-repair?sr=search&amp;amp;searchId=5eee9247-23a7-4c7d-ab38-e6142d3e9749&amp;amp;searchIndex=0"&gt;/blogs/myAlaskaGIS/2015/08/31/python-addin-for-data-inventory-and-broken-link-repair?sr=search&amp;amp;searchId=5eee9247-23a7-4c7d-ab38-e6142d3e9749&amp;amp;searchIndex=0&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857758#M5600</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2018-02-26T19:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857759#M5601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've downloaded your add-in and every step works great until step 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error message:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400700" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400700_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently running 10.6 and here is a snippet of my "UpdateToNewDrive.csv"&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/400701_pastedImage_1.png" style="width: 620px; height: 48px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 17:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857759#M5601</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-05T17:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Data Source - New Data Location</title>
      <link>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857760#M5602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tested on 10.6, so that &lt;EM&gt;might&lt;/EM&gt; be the issue.&amp;nbsp; But you can try to unzip the .addin and go directly to the toolbox.&amp;nbsp; Right-click on the tool and Source.&amp;nbsp; See if it can find the .py script for the tool.&amp;nbsp; You may need to go up a folder to find the scripts folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I have had some issues with 10.5.1 with the "store relative path" for the script doing some weird stuff (trying to look on the "C$" share) when upgrading to newer version.&amp;nbsp; It was developed mainly on 10.2.x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other thing might be if you have spaces in the path names.&amp;nbsp; I can't remember if I handle things for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 20:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/repair-data-source-new-data-location/m-p/857760#M5602</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2018-04-05T20:54:00Z</dc:date>
    </item>
  </channel>
</rss>

