<?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: Why does the Rename tool change the name of a layer file in layer properties? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496244#M3346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same thing happens regardless of being in a model. It happens in running the model, running the Rename Tool by itself, and running it in the python window itself. &amp;nbsp;Ill look into a list or script. &amp;nbsp;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2017 22:29:20 GMT</pubDate>
    <dc:creator>MattDeveney</dc:creator>
    <dc:date>2017-08-16T22:29:20Z</dc:date>
    <item>
      <title>Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496238#M3340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the rename tool to rename a set of layers.&amp;nbsp;However, when I ran it, it renamed&amp;nbsp;them in the catalog tree but not in the Layer Properties or when added to a map. &amp;nbsp;See screen shots below. &amp;nbsp;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/367283_pastedImage_2.png" style="width: 620px; height: 320px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/367284_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 16:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496238#M3340</guid>
      <dc:creator>MattDeveney</dc:creator>
      <dc:date>2017-08-16T16:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496239#M3341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When this doesn't work&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/help/projects/rename-project-items.htm"&gt;http://pro.arcgis.com/en/pro-app/help/projects/rename-project-items.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;try this&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/rename.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/rename.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but that says it won't rename layers since layers are a reference to a dataset&lt;/P&gt;&lt;P&gt;which is somewhat circular, but my guess would be to rename the dataset first, then make the layer... it would definitely provide less confusion&amp;nbsp; (the links are for pro, but they are the same for arcmap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:01:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496239#M3341</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-16T19:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496240#M3342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Dan. &amp;nbsp;Renaming the original dataset will work, however, when I go to save it as a layer file, ArcGIS attaches&amp;nbsp;"_Save_to_Layer_File" at the end of each feature class, hence the need for the renaming process on the layers. &amp;nbsp;Is there any way to stop it from attaching this to each feature class name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496240#M3342</guid>
      <dc:creator>MattDeveney</dc:creator>
      <dc:date>2017-08-16T19:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496241#M3343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If doing it with the tool manually, just delete the offending addendum.&amp;nbsp; If using the tool in a script, you have control on the output filename.&amp;nbsp; many tools in Arctoolbox append extra bits at the end of a filename... probably so you know what they are, or perhaps to prevent overwriting existing data (as in the case of the copy tool)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:44:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496241#M3343</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-16T19:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496242#M3344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using all of these tools in a model. Please see the screenshot below.&lt;/P&gt;&lt;P&gt;This is one line of the model which 1) iterates through a gdb does a test to see if a feature class has a specific name, 2) if it does, it creates a feature layer, 3) saves it to a layer file and 4) gives the layer a specific symbology. I am carrying the feature class name through the process using inline variables, but when I try to use an inline variable within the save to layer file, I get an error "Item not found in this collection". &amp;nbsp;If I leave it blank, it will attach "Save_to_Layer_File".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/367346_Capture.JPG" style="width: 620px; height: 84px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 20:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496242#M3344</guid>
      <dc:creator>MattDeveney</dc:creator>
      <dc:date>2017-08-16T20:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496243#M3345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh... now the model appears... sigh.... I don't suppose you can put in the name you want or pull them from a list... of write a script to do that step.&lt;/P&gt;&lt;P&gt;I will defer to those that use models... and share it with &lt;A href="https://community.esri.com/groups/model-builder?sr=search&amp;amp;searchId=25562dca-4508-4180-8c5c-1a4ac33ae0d7&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/model-builder?sr=search&amp;amp;searchId=25562dca-4508-4180-8c5c-1a4ac33ae0d7&amp;amp;searchIndex=0&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/community/mapping-and-charting?sr=search&amp;amp;searchId=61669a0e-5eb7-4bd5-9807-8548862f7e7f&amp;amp;searchIndex=3"&gt;https://community.esri.com/community/mapping-and-charting?sr=search&amp;amp;searchId=61669a0e-5eb7-4bd5-9807-8548862f7e7f&amp;amp;searchIndex=3&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/community/developers/gis-developers/python?sr=search&amp;amp;searchId=5313a483-a6e6-4d97-8a5b-71fb7ab379f6&amp;amp;searchIndex=0"&gt;https://community.esri.com/community/developers/gis-developers/python?sr=search&amp;amp;searchId=5313a483-a6e6-4d97-8a5b-71fb7ab379f6&amp;amp;searchIndex=0&lt;/A&gt;‌ to see if&amp;nbsp; anyone has done anything similar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 21:17:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496243#M3345</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-16T21:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496244#M3346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same thing happens regardless of being in a model. It happens in running the model, running the Rename Tool by itself, and running it in the python window itself. &amp;nbsp;Ill look into a list or script. &amp;nbsp;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 22:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496244#M3346</guid>
      <dc:creator>MattDeveney</dc:creator>
      <dc:date>2017-08-16T22:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Rename tool change the name of a layer file in layer properties?</title>
      <link>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496245#M3347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this model , could you apply symbology&amp;nbsp;&lt;EM&gt;before&lt;/EM&gt; you save to layer file?&amp;nbsp;Then you can save to layer file after the symbology is applied, saving it to the name you want in the first place (no rename required).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note when you run Make Feature Layer&amp;nbsp;Model Builder sets a default name but you could define your own and reference it there in the layer name for example %variable%. Same with the layer file name when you save it. That 'variable' model element could be created using Calculate Value or Parse path and then set as a precondition to Make Feature Layer so you ensure the name gets generated before Make Feature Layer is run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 05:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/why-does-the-rename-tool-change-the-name-of-a/m-p/496245#M3347</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-08-17T05:19:55Z</dc:date>
    </item>
  </channel>
</rss>

