<?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: Changing sde worspace of layers in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-sde-worspace-of-layers/m-p/447799#M12155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to change the sources of your layers using logic shown on the following page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to change the data source of a layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000" title="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would think if you wanted this to all happen when the map document is loaded that you'd want to implement this within an application extension where you'd need to incorporate logic on how to determine which geodatabase version to connect to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creating an application extension&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 21:46:37 GMT</pubDate>
    <dc:creator>FreddieGibson</dc:creator>
    <dc:date>2015-09-22T21:46:37Z</dc:date>
    <item>
      <title>Changing sde worspace of layers</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-sde-worspace-of-layers/m-p/447798#M12154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Xavier&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have to manage a single MXd file but several versioned database using arcobjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, using one single Mxd file, is it possible to dynamically, when the mxd is loaded, to change the workspace of each featurelayer ? The workspace would be configurated using the user selected versionned database (this selection is done by a developed user interface) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 15:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-sde-worspace-of-layers/m-p/447798#M12154</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-05-28T15:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing sde worspace of layers</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/changing-sde-worspace-of-layers/m-p/447799#M12155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to change the sources of your layers using logic shown on the following page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to change the data source of a layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000" title="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000m5000000&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would think if you wanted this to all happen when the map document is loaded that you'd want to implement this within an application extension where you'd need to incorporate logic on how to determine which geodatabase version to connect to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creating an application extension&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//00010000001v000000&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 21:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/changing-sde-worspace-of-layers/m-p/447799#M12155</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-09-22T21:46:37Z</dc:date>
    </item>
  </channel>
</rss>

