<?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 CalculateValue into OutputName in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770817#M1192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at your inline substitution, are you using &lt;STRONG&gt;%output_value%&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;output _value (2)%&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2019 10:52:15 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2019-07-19T10:52:15Z</dc:date>
    <item>
      <title>ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770809#M1184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;i wanna ask you - i have tool Table to Excel in ModelBuilder but in the end i want to get XLS with output name included Date.&lt;/P&gt;&lt;P&gt;so i used Calculate value and as you can see it is showing correct date...but when i run my model, XLS has output name "vyber_EU".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Calculate Value i used this expression from mr. Patterson.&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; font-size: 14px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;time&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;strftime&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;u&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"zzz{0}d{0}m{0}Y"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;chr&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;37&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is my mistake please?&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/453416_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 07:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770809#M1184</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-18T07:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770810#M1185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to show us what the Table to Excel tool is doing, you would typically use the output of the Calculate Value tool in an inline substitution in the output name of your xls file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 10:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770810#M1185</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-07-18T10:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770811#M1186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have shapefile like input and then i want to export XLS file from it but with date&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 11:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770811#M1186</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-18T11:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770812#M1187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is your problem you are not using the output of the calculate value tool. You have made it a &lt;STRONG&gt;precondition&lt;/STRONG&gt; to the table to Excel tool, we know that as it has a dotty line. Your output Excel file should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;D:\MPRV SR\GSAA\GSAA2019\eustream\vyber_EU%output_value%.xls&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you had&amp;nbsp;renamed the output of your calculate value tool to something like BOB then your output would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;D:\MPRV SR\GSAA\GSAA2019\eustream\vyber_EU%BOB%.xls&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to read the help file on modelbuilder in-line substitution, this is particularly important if you are using iterators.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 11:43:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770812#M1187</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-07-18T11:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770813#M1188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you....:) works now &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 12:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770813#M1188</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-18T12:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770814#M1189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have one more question &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;in that model i have 2x calculate value for output name.&lt;/P&gt;&lt;P&gt;in the first one it says "places_DDMMYYYY" which is in results OK.&lt;/P&gt;&lt;P&gt;but in the second one it is set to "intersect_DDMMYYY" but in the result it is called "places_DDMMYYYY" like previous output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do to run it OK?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/453574_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/453587_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 07:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770814#M1189</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-19T07:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770815#M1190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I was trying to teach you with the&amp;nbsp;BOB example. So what is the name of the output for your second calculate value tool? Is it &lt;STRONG&gt;output_value&lt;/STRONG&gt; or &lt;STRONG&gt;output _value (2)&lt;/STRONG&gt;? You do not have to accept default output variable names, rename it to something sensible and use that in the in-line substitution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 10:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770815#M1190</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-07-19T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770816#M1191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;output for second calculate value tool is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/453589_pastedImage_2.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then for copy features:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/453599_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for table to excel:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/453600_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 10:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770816#M1191</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-19T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770817#M1192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at your inline substitution, are you using &lt;STRONG&gt;%output_value%&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;output _value (2)%&lt;/STRONG&gt;?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 10:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770817#M1192</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-07-19T10:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770818#M1193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%output_value% .... but when i tried rename it to %output_value (2)% it says that "The name contains invalid characters&lt;BR /&gt;Failed to execute"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 11:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770818#M1193</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-19T11:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770819#M1194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your problem is coming from you accepting default names. You have&amp;nbsp;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;output_value,&lt;/STRONG&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; font-weight: inherit; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;output _value (2) and&amp;nbsp;&lt;SPAN style="border: 0px; background-color: #ffffff; font-weight: inherit; "&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;output _value%.shp&amp;nbsp; (3).&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You have outputs of outputs of outputs all with subtle variation in names! So it is confusing to follow and as you are discovering confusing to&amp;nbsp;program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your model the input to table to excel is&amp;nbsp;&lt;SPAN style="border: 0px; background-color: #ffffff; font-weight: inherit; "&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;output _value%.shp&amp;nbsp; (3) &lt;/STRONG&gt;but that is not what I see in your parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you STOP and take a little time (only 1 minute!) and rename your outputs with more sensible names then when you start inserting them as inline substitution it is much clearer for you to set up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 11:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770819#M1194</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-07-19T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: ModelBuilder CalculateValue into OutputName</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770820#M1195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;it worked..i was confused with those /output values/ too &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculatevalue-into-outputname/m-p/770820#M1195</guid>
      <dc:creator>StanislavaV</dc:creator>
      <dc:date>2019-07-19T12:29:43Z</dc:date>
    </item>
  </channel>
</rss>

