<?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: Change Data Source but retain field selections and Aliases in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152468#M3546</link>
    <description>&lt;P&gt;This is interesting - I think I now see why things may be broken - in my reply to myself I mention unticking fully qualified field names.&amp;nbsp; I don't have to, just make a SINGLE change before changing data source.&amp;nbsp; This is what I *think* is happening.&lt;/P&gt;&lt;P&gt;I have a layer, let's call it Planning&amp;nbsp; it is from an Oracle Enterprise database.&amp;nbsp; It is related to a Oracle view to get more data (I'm not 100% sure, but my issue may only be an issue when layer has a join)&amp;nbsp; The MXD was set up a few years ago, most fields unticked, most given aliases.&lt;/P&gt;&lt;P&gt;Over time the suppliers have added new fields to the related table/view.&lt;/P&gt;&lt;P&gt;ArcMap's normal behaviour is to default these new fields 'on' when you look at the fields tab, but I think, until that point, the mxd has no record of them.&lt;/P&gt;&lt;P&gt;Changing ANY field records the new full field list.&lt;/P&gt;&lt;P&gt;Changing a datasource will check the schema of the new source against what is recorded.&amp;nbsp; If it is the same, it takes the field selections and aliases.&lt;/P&gt;&lt;P&gt;If it is different it will reset them.&lt;/P&gt;&lt;P&gt;So by making a change in the filed list before a datasource change makes the selections/aliases stay put.&lt;/P&gt;&lt;P&gt;That makes sense to me.&lt;/P&gt;&lt;P&gt;Still no use when you move the datasource and no longer have it in place, so important to do before you move data&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 09:50:15 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2022-03-10T09:50:15Z</dc:date>
    <item>
      <title>Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152175#M3537</link>
      <description>&lt;P&gt;I simply can't find a way to do this&lt;/P&gt;&lt;P&gt;As a result of an Oracle 12G&amp;gt;&amp;gt;19C update all our reader passwords have gone uppercase only, so all my layers in MXDs are Red! and need repairing.&lt;/P&gt;&lt;P&gt;That bit is easy.&amp;nbsp; A single Repair can get them all.&lt;/P&gt;&lt;P&gt;But all our field selections and Aliases get zapped.&amp;nbsp; And these MXDs are 100+ layers, each with only one or two fields ticked, and those with nice Aliases set.&amp;nbsp; So a huge amount of work to sort.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;ACM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 15:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152175#M3537</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2022-03-09T15:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152180#M3538</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6818"&gt;@AdrianMarsden&lt;/a&gt;&amp;nbsp;you can repoint your layers with python by performing a find and replace on the MXD.&lt;/P&gt;&lt;P&gt;Or you could set the data sources in catalog?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Brooks_0-1646841540965.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35954i37A013017C669048/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Brooks_0-1646841540965.png" alt="David_Brooks_0-1646841540965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Im pretty confident that either approach will preserve your settings on the layers. But always happy to be proven right/wrong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 15:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152180#M3538</guid>
      <dc:creator>David_Brooks</dc:creator>
      <dc:date>2022-03-09T15:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152185#M3539</link>
      <description>&lt;P&gt;Many thanks for mega speedy reply, but I have tried the ArcCat way without much (any) luck&lt;/P&gt;&lt;P&gt;In the last few minutes I have been able to change the source on a PC that points to the old data (so layer still works)&amp;nbsp; to a new connection, with the uppercase password (old sever took both lower and upper)&amp;nbsp; I can now paste that layer to a server in the new world - but still layer by layer.&lt;/P&gt;&lt;P&gt;The issue I think that stopped this working&amp;nbsp;before was there were some fields ticked on on the old layer that didn't match EXACTLY in the new database (slight schema change) so ArcMap just zapped everything&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152185#M3539</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2022-03-09T16:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152186#M3540</link>
      <description>&lt;P&gt;So... that has got me wondering if it was these fields that was breaking the ArCat way - I will investigate tomorrow&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152186#M3540</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2022-03-09T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152199#M3541</link>
      <description>&lt;P&gt;PS - work flow (mainly so I remember to morrow)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Remove fully qualified fields from tick list - so those with schema.table.name&lt;/LI&gt;&lt;LI&gt;apply&lt;/LI&gt;&lt;LI&gt;change source&lt;/LI&gt;&lt;LI&gt;Move to fields tab - IMPORTANT&lt;/LI&gt;&lt;LI&gt;Apply&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152199#M3541</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2022-03-09T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Data Source but retain field selections and Aliases</title>
      <link>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152468#M3546</link>
      <description>&lt;P&gt;This is interesting - I think I now see why things may be broken - in my reply to myself I mention unticking fully qualified field names.&amp;nbsp; I don't have to, just make a SINGLE change before changing data source.&amp;nbsp; This is what I *think* is happening.&lt;/P&gt;&lt;P&gt;I have a layer, let's call it Planning&amp;nbsp; it is from an Oracle Enterprise database.&amp;nbsp; It is related to a Oracle view to get more data (I'm not 100% sure, but my issue may only be an issue when layer has a join)&amp;nbsp; The MXD was set up a few years ago, most fields unticked, most given aliases.&lt;/P&gt;&lt;P&gt;Over time the suppliers have added new fields to the related table/view.&lt;/P&gt;&lt;P&gt;ArcMap's normal behaviour is to default these new fields 'on' when you look at the fields tab, but I think, until that point, the mxd has no record of them.&lt;/P&gt;&lt;P&gt;Changing ANY field records the new full field list.&lt;/P&gt;&lt;P&gt;Changing a datasource will check the schema of the new source against what is recorded.&amp;nbsp; If it is the same, it takes the field selections and aliases.&lt;/P&gt;&lt;P&gt;If it is different it will reset them.&lt;/P&gt;&lt;P&gt;So by making a change in the filed list before a datasource change makes the selections/aliases stay put.&lt;/P&gt;&lt;P&gt;That makes sense to me.&lt;/P&gt;&lt;P&gt;Still no use when you move the datasource and no longer have it in place, so important to do before you move data&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 09:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/change-data-source-but-retain-field-selections-and/m-p/1152468#M3546</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2022-03-10T09:50:15Z</dc:date>
    </item>
  </channel>
</rss>

