<?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 Remove ArcSDE Connection details from a layer file? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570566#M32329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if this is the correct sub forum but I will give it a go!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an ArcScript a while ago for version 9.1 that allowed you to remove the ArcSDE connection details for layer files which meant that any user could drag this into ArcMap, be prompted for their user name and password, enter it and view the layer with their privileges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately in upgrading to version 10 I have lost this function and am wondering if there is something available for v.10 that will allow me to do this? I believe the original script was created by Sue Jones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 13:53:13 GMT</pubDate>
    <dc:creator>ChrisBuckmaster1</dc:creator>
    <dc:date>2012-01-19T13:53:13Z</dc:date>
    <item>
      <title>Remove ArcSDE Connection details from a layer file?</title>
      <link>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570566#M32329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if this is the correct sub forum but I will give it a go!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an ArcScript a while ago for version 9.1 that allowed you to remove the ArcSDE connection details for layer files which meant that any user could drag this into ArcMap, be prompted for their user name and password, enter it and view the layer with their privileges.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately in upgrading to version 10 I have lost this function and am wondering if there is something available for v.10 that will allow me to do this? I believe the original script was created by Sue Jones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 13:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570566#M32329</guid>
      <dc:creator>ChrisBuckmaster1</dc:creator>
      <dc:date>2012-01-19T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ArcSDE Connection details from a layer file?</title>
      <link>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570567#M32330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you found any information on this? I'm trying to perform a similar task, setting the user id and password to values previously set by the user. I seem to be able to get and set the user id and view all the connection properties in the connection string but when I try to get or set the password I get an error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; If Not GxLayer Is Nothing Then
&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; DataLayer = GxLayer.Layer
&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; WrkSpcName = New WorkspaceName
&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; DSN = DataLayer.DataSourceName
&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; WrkSpcName = DSN.WorkspaceName
&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; ConnProperties = WrkSpcName.ConnectionProperties
&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; ConnProperties.SetProperty("USER", "user id here")
&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; ConnProperties.SetProperty("PASSWORD", "password here")
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The original tool that performed this task was written in VBA and I believe it was last used with ArcGIS 9.2. I'm trying to upgrade it to work with ArcGIS 10, Win 7. Any information you have would help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570567#M32330</guid>
      <dc:creator>MHawkins</dc:creator>
      <dc:date>2021-12-12T00:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ArcSDE Connection details from a layer file?</title>
      <link>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570568#M32331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just bumping this thread up again, can anyone help with this request please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/remove-arcsde-connection-details-from-a-layer-file/m-p/570568#M32331</guid>
      <dc:creator>ChrisBuckmaster1</dc:creator>
      <dc:date>2012-05-10T11:38:38Z</dc:date>
    </item>
  </channel>
</rss>

