<?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: ModelBuilder. Rename shapefile names using Iterator and CSV in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858703#M5611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the below image shows what you're wanting to accomplish based on what I've seen above. You'd just want to use a couple of pre-conditions and maybe a couple of inline variable substitution statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/examples-of-inline-model-variable-substitution.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/examples-of-inline-model-variable-substitution.htm"&gt;Examples of inline model variable substitution—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="112776" alt="ModelBuilder.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/112776_ModelBuilder.png" style="width: 620px; height: 312px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 16:39:11 GMT</pubDate>
    <dc:creator>FreddieGibson</dc:creator>
    <dc:date>2015-06-23T16:39:11Z</dc:date>
    <item>
      <title>ModelBuilder. Rename shapefile names using Iterator and CSV</title>
      <link>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858702#M5610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I had this idea, but I just can't figure out exactly how to execute it.&lt;/P&gt;&lt;P&gt;I have a model with an iterator that separates a shapefile based on the Numerical Layer in the attribute table. What I ideally need is to name the layers based on the physical Name of the layer that is not in the attribute table, so I created a "dictionary" using a csv file that contains two fields, the numeric layer name that is in the attribute table and the physical name I eventually wanted in the file name.&lt;/P&gt;&lt;P&gt;I just can't seem to figure out how to connect the two aspects of the model so it pulls from the data dictionary into the final file names.&lt;/P&gt;&lt;P&gt;Below is the model, and the CSV Table.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="112543" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/112543_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;IMG __jive_id="112745" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/112745_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858702#M5610</guid>
      <dc:creator>JonathanMori1</dc:creator>
      <dc:date>2015-06-23T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder. Rename shapefile names using Iterator and CSV</title>
      <link>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858703#M5611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the below image shows what you're wanting to accomplish based on what I've seen above. You'd just want to use a couple of pre-conditions and maybe a couple of inline variable substitution statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/examples-of-inline-model-variable-substitution.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/examples-of-inline-model-variable-substitution.htm"&gt;Examples of inline model variable substitution—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="112776" alt="ModelBuilder.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/112776_ModelBuilder.png" style="width: 620px; height: 312px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858703#M5611</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-06-23T16:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder. Rename shapefile names using Iterator and CSV</title>
      <link>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858704#M5612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply! I am having an issue where "Key" and "Name" keep changing back to "Value" and "Value 2" automatically, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT: Nevermind I read about that in the provided Link.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:07:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858704#M5612</guid>
      <dc:creator>JonathanMori1</dc:creator>
      <dc:date>2015-06-23T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder. Rename shapefile names using Iterator and CSV</title>
      <link>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858705#M5613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hit Assumed Answered by accident, I didn't know how to undo it.&lt;/P&gt;&lt;P&gt;I am getting this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing (Iterate Feature Selection): IterateFeatureSelection C:\Users\morij\Desktop\Projects\M4Testing_062015\ModelTest\M4ExportMerge_LineWGS84.shp "Layer #" false&lt;/P&gt;&lt;P&gt;Start Time: Tue Jun 23 13:24:06 2015&lt;/P&gt;&lt;P&gt;Executing (Make Feature Layer): MakeFeatureLayer C:\Users\morij\Desktop\Projects\M4Testing_062015\ModelTest\M4ExportMerge_LineWGS84.shp I_M4ExportMerge_LineWGS84_Layer ""Layer" = 1" # #&lt;/P&gt;&lt;P&gt;Start Time: Tue Jun 23 13:25:45 2015&lt;/P&gt;&lt;P&gt;ERROR 000354: The name contains invalid characters&lt;/P&gt;&lt;P&gt;Item not found in this collection.&lt;/P&gt;&lt;P&gt;Failed to execute (Make Feature Layer).&lt;/P&gt;&lt;P&gt;Failed at Tue Jun 23 13:25:45 2015 (Elapsed Time: 0.09 seconds)&lt;/P&gt;&lt;P&gt;Failed to execute (Iterate Feature Selection).&lt;/P&gt;&lt;P&gt;Failed at Tue Jun 23 13:25:45 2015 (Elapsed Time: 1 minutes 38 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is How I fixed the model&lt;/P&gt;&lt;P&gt;&lt;IMG alt="wyt9XbW.jpg" class="image-1 jive-image" src="http://i.imgur.com/wyt9XbW.jpg" style="width: 620px; height: 324px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="xzrw7yQ.jpg" class="image-2 jive-image" src="http://i.imgur.com/xzrw7yQ.jpg" style="width: 620px; height: 156px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:30:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/modelbuilder-rename-shapefile-names-using-iterator/m-p/858705#M5613</guid>
      <dc:creator>JonathanMori1</dc:creator>
      <dc:date>2015-06-23T17:30:22Z</dc:date>
    </item>
  </channel>
</rss>

