<?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: findAndReplaceWorkspacePaths Not Working AND using Python to re-join tables in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/findandreplaceworkspacepaths-not-working-and-using/m-p/579180#M45428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried mxd.replaceWorkspaces?&amp;nbsp; MXD.findAndReplaceWorkspacePaths doesn't work as well for changing owner information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2012 16:18:36 GMT</pubDate>
    <dc:creator>JeffBarrette</dc:creator>
    <dc:date>2012-04-30T16:18:36Z</dc:date>
    <item>
      <title>findAndReplaceWorkspacePaths Not Working AND using Python to re-join tables</title>
      <link>https://community.esri.com/t5/python-questions/findandreplaceworkspacepaths-not-working-and-using/m-p/579179#M45427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the Python findAndReplaceWorkspacePaths function, but apparently am doing something wrong.&amp;nbsp; We recently rebuilt our SDE database and moved the data to a new user (was owned by SDE, which I know is a big no-no, so we moved the data to a different user).&amp;nbsp; The FC names are the same, server is the same.&amp;nbsp; Can anyone help me figure out what I am doing wrong?&amp;nbsp; I was also wondering if there is a Python method for fixing the table joins that are lost now that the data is oned by the new user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;BR /&gt;import arcpy&lt;BR /&gt;mxd = arcpy.mapping.MapDocument(r"B:\Temp\PYTHON\Test.mxd")&lt;BR /&gt;mxd.findAndReplaceWorkspacePaths(r"Database Connections\Connection to MVNPUSH as SDE.sde", &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;&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; r"Database Connections\Connection to MVN as EDITOR.sde")&lt;BR /&gt;mxd.saveACopy(r"B:\Temp\PYTHON\Test2.mxd")&lt;BR /&gt;del mxd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2012 11:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/findandreplaceworkspacepaths-not-working-and-using/m-p/579179#M45427</guid>
      <dc:creator>ShanaLowe</dc:creator>
      <dc:date>2012-04-29T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: findAndReplaceWorkspacePaths Not Working AND using Python to re-join tables</title>
      <link>https://community.esri.com/t5/python-questions/findandreplaceworkspacepaths-not-working-and-using/m-p/579180#M45428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried mxd.replaceWorkspaces?&amp;nbsp; MXD.findAndReplaceWorkspacePaths doesn't work as well for changing owner information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 16:18:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/findandreplaceworkspacepaths-not-working-and-using/m-p/579180#M45428</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-04-30T16:18:36Z</dc:date>
    </item>
  </channel>
</rss>

