<?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: arcpy to edit *.sde files in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301302#M23412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you have the original, you can make a connection to it.&lt;/P&gt;&lt;P&gt;env.workspace = "path and name of connection file . sde"&lt;/P&gt;&lt;P&gt;Then you can recover the properties of that connection file using Describe.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/201011_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 18:21:51 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2016-05-16T18:21:51Z</dc:date>
    <item>
      <title>arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301299#M23409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to, using arcpy, to edit the content of an *.sde connection file (or files) directly?&lt;/P&gt;&lt;P&gt;Based on some initial research, it seems this is not possible and that the closest I might be able to get would be to use CreateArcSDEConnectionFile_management to generate multiple new files at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 17:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301299#M23409</guid>
      <dc:creator>MichaelKnapp</dc:creator>
      <dc:date>2016-05-16T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301300#M23410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are your requirements to edit a connection file?&lt;/P&gt;&lt;P&gt;I think you are correct, you could read a connection file, create a new one, then overwrite the original.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 18:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301300#M23410</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-05-16T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301301#M23411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All that's needed is to swap out the server domain name in the *.sde files, but there are lots of *.sde files to update. &lt;/P&gt;&lt;P&gt;What would be the best arcpy function to use to read properties of the existing *.sde files?&lt;/P&gt;&lt;P&gt;Thanks so much for your quick reply. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 18:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301301#M23411</guid>
      <dc:creator>MichaelKnapp</dc:creator>
      <dc:date>2016-05-16T18:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301302#M23412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you have the original, you can make a connection to it.&lt;/P&gt;&lt;P&gt;env.workspace = "path and name of connection file . sde"&lt;/P&gt;&lt;P&gt;Then you can recover the properties of that connection file using Describe.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/201011_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 18:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301302#M23412</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-05-16T18:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301303#M23413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks again for all the information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 18:46:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301303#M23413</guid>
      <dc:creator>MichaelKnapp</dc:creator>
      <dc:date>2016-05-16T18:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy to edit *.sde files</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301304#M23414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;Kim at dec was asking the same question via email to me.&amp;nbsp; Haven't made contact yet.&amp;nbsp; Is thus related?&amp;nbsp; I mentioned you just asked the question here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just FYI, for finding and updating other broken link, I had an addin &lt;A href="https://community.esri.com/migration-blogpost/55043"&gt;Python addin for data inventory and “broken-link” repair.&lt;/A&gt;​&amp;nbsp;&amp;nbsp; Not 100%, and haven't had time to keep working on it, but may help fix other issues in the future. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 19:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-edit-sde-files/m-p/301304#M23414</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-05-16T19:42:25Z</dc:date>
    </item>
  </channel>
</rss>

