<?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 How to use in-line variable substitution from field attribution for input name of output FC? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782815#M3672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to advanced techniques in ModelBuilder.&amp;nbsp; I'm not successful with Help in this area (and running out of ideas) and request support from the GIS community.&amp;nbsp; Here's my central need: what's the feasibility of using in-line variable substitution to dynamically pull field attribution as a name input for a model's FC output?&amp;nbsp; I'm running ArcGIS for Desktop (v10.3.1)/ArcGIS Pro (v 1.1.1) Basic only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the overall problem/need:&amp;nbsp; I need to automate the pre-processing of thousands of parcel datasets.&amp;nbsp; There are parcel boundary polygons (attribution contains unique IDs only) and parcel centroid points (attribution contains unique IDs and ownership) that need joined and exported to a new feature class (this staged data will be used later as input into other suitability modeling). Each input FC name contains a unique FIPS code (1 polygon with 1 matching point) used to perform the join.&amp;nbsp; First, an iterator (containing a second nested iterator) in my model cycles through each unique polygon and point pair to perform a tabular join and output the FC.&amp;nbsp; Conceptually, I hope to find a way for the output name to be more meaningful (i.e. the true county and state name represented by the FIPS code).&amp;nbsp; For example, "Parcels_06061" = "PlacerCountyCA".&amp;nbsp; The last piece of the puzzle is the FIPS "lookup" is a stand-alone table, it's not contained in the parcel polygons or points, but can be joined by FIPS code.&amp;nbsp; This table contains three fields: FIPS, county name and state name.&amp;nbsp; See attached screenshot for a representative visual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's doable (directly or indirectly) in ModelBuilder (or Python), please offer some ideas and guidance.&amp;nbsp; Thanks in advance for your feedback.&amp;nbsp; Have a great day and holidays!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 17:40:26 GMT</pubDate>
    <dc:creator>AndyAston</dc:creator>
    <dc:date>2015-12-18T17:40:26Z</dc:date>
    <item>
      <title>How to use in-line variable substitution from field attribution for input name of output FC?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782815#M3672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to advanced techniques in ModelBuilder.&amp;nbsp; I'm not successful with Help in this area (and running out of ideas) and request support from the GIS community.&amp;nbsp; Here's my central need: what's the feasibility of using in-line variable substitution to dynamically pull field attribution as a name input for a model's FC output?&amp;nbsp; I'm running ArcGIS for Desktop (v10.3.1)/ArcGIS Pro (v 1.1.1) Basic only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the overall problem/need:&amp;nbsp; I need to automate the pre-processing of thousands of parcel datasets.&amp;nbsp; There are parcel boundary polygons (attribution contains unique IDs only) and parcel centroid points (attribution contains unique IDs and ownership) that need joined and exported to a new feature class (this staged data will be used later as input into other suitability modeling). Each input FC name contains a unique FIPS code (1 polygon with 1 matching point) used to perform the join.&amp;nbsp; First, an iterator (containing a second nested iterator) in my model cycles through each unique polygon and point pair to perform a tabular join and output the FC.&amp;nbsp; Conceptually, I hope to find a way for the output name to be more meaningful (i.e. the true county and state name represented by the FIPS code).&amp;nbsp; For example, "Parcels_06061" = "PlacerCountyCA".&amp;nbsp; The last piece of the puzzle is the FIPS "lookup" is a stand-alone table, it's not contained in the parcel polygons or points, but can be joined by FIPS code.&amp;nbsp; This table contains three fields: FIPS, county name and state name.&amp;nbsp; See attached screenshot for a representative visual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's doable (directly or indirectly) in ModelBuilder (or Python), please offer some ideas and guidance.&amp;nbsp; Thanks in advance for your feedback.&amp;nbsp; Have a great day and holidays!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782815#M3672</guid>
      <dc:creator>AndyAston</dc:creator>
      <dc:date>2015-12-18T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use in-line variable substitution from field attribution for input name of output FC?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782816#M3673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not exactly sure where you're at with this, but are you aware of the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Get_Field_Value/004000000006000000/"&gt;Get Field Value&lt;/A&gt; tool? If you have a dataset with the FIPS code in the first row, you can collect it and use as an in-line variable for your output FC name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782816#M3673</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-18T17:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use in-line variable substitution from field attribution for input name of output FC?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782817#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I'll look into the Get Field Value more in-depth.&amp;nbsp; Will this work on a joined table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782817#M3674</guid>
      <dc:creator>AndyAston</dc:creator>
      <dc:date>2015-12-18T18:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use in-line variable substitution from field attribution for input name of output FC?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782818#M3675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;A href="https://community.esri.com/migrated-users/19932"&gt;Darren Wiens&lt;/A&gt;​,​ I got my model functioning a majority of the way, but it outputs NULL attribute values in each feature class after the first iteration.&amp;nbsp; Only the first feature class' run is truly successful.&amp;nbsp; I feel the reason is that there are multiple tabular joins.&amp;nbsp; The issue is I can't get the Remove Join tool to successfully work...when run in the main model or a nested model.&amp;nbsp; I get Error 000229 on both.&amp;nbsp; I'm in need some more guidance/feedback.&amp;nbsp; Please let me know if something stands out to you.&amp;nbsp; See the attached graphics for a visual representation of the model (and the 3 sub-models).&amp;nbsp; I'm happy to share the model(s) and datasets if needed.&amp;nbsp; Thanks a million and have a great day!&amp;nbsp; &lt;IMG alt="1- Pre-Processing Parcel Staging.png" class="image-1 jive-image" src="/legacyfs/online/167433_1- Pre-Processing Parcel Staging.png" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;Main model&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1a - Pre-Processing Parcel Point Iterator.png" class="image-2 jive-image" src="/legacyfs/online/167434_1a - Pre-Processing Parcel Point Iterator.png" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;Parcel Point Iterator sub-model&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1b - Pre-Processing FIPS Lookup.png" class="image-3 jive-image" src="/legacyfs/online/167456_1b - Pre-Processing FIPS Lookup.png" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;FIPS Lookup sub-model&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1c - Pre-Processing Parcel Join Poly-Points and Calc.png" class="image-4 jive-image" src="/legacyfs/online/167457_1c - Pre-Processing Parcel Join Poly-Points and Calc.png" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;Parcel Join Poly-Points and Calc sub-model&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Error 000229 Cannot open &amp;amp;lt;value&amp;amp;gt;.tiff" class="image-5 jive-image" src="/legacyfs/online/167458_Error 000229 Cannot open &amp;lt;value&amp;gt;.tiff" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Error 000229&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 18:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/how-to-use-in-line-variable-substitution-from/m-p/782818#M3675</guid>
      <dc:creator>AndyAston</dc:creator>
      <dc:date>2016-01-11T18:53:40Z</dc:date>
    </item>
  </channel>
</rss>

