<?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: Setup model to prompt user to type in value - Calculate Field tool in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461410#M15533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ModelBuilder, create a variable (right-click and select Create Variable ...) of String type. Make it a model parameter. Refer to this variable to Calculate Field as an inline variable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Follow this topic if you need help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And for examples, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Oct 2011 16:52:37 GMT</pubDate>
    <dc:creator>NobbirAhmed</dc:creator>
    <dc:date>2011-10-15T16:52:37Z</dc:date>
    <item>
      <title>Setup model to prompt user to type in value - Calculate Field tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461409#M15532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to set up a model that as part of the model will calculate a value for a text field by prompting the user to enter a value to be entered (using the Calculate Field tool. The prompt is for the user to type in a value rather than selecting from a list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can set the the Expression as a parameter but cannot seem to find a way to get the tool to prompt for a value. It is probably something basic that I am not doing, but the help and documentation I have seen is not making sense to me or at least does not work the way I think it should.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2011 10:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461409#M15532</guid>
      <dc:creator>MarkFawkes</dc:creator>
      <dc:date>2011-10-15T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setup model to prompt user to type in value - Calculate Field tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461410#M15533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ModelBuilder, create a variable (right-click and select Create Variable ...) of String type. Make it a model parameter. Refer to this variable to Calculate Field as an inline variable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Follow this topic if you need help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000001t000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And for examples, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Examples_of_inline_model_variable_substitution/002w0000005w000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2011 16:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461410#M15533</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2011-10-15T16:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setup model to prompt user to type in value - Calculate Field tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461411#M15534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Nobbir&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you suggest was what I thought I had to do and still cannot get it to work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class TestFile which has a field Test which is a text field. I have created a variable named String of string type, and set this as a model parameter. In the Calculate Field tool dialog, I have set Input Table as TestFile, Field Name as Test and Expression as %String%. This has no value set. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want now is to run the model and have a window open to input a value for the variable String as a user input when the model is run. From my reading I had a vague idea that this is what would happen. When I run the model, I get an error 000622 (parameters not valid) and 000735 (Value is required). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is this last bit (getting Arc to prompt me to enter a value for String) that does not seem to work as I thought it should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help on this would be appreciated. I am using ARc 10 on a trial installation from one of the ESRI books.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 08:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461411#M15534</guid>
      <dc:creator>MarkFawkes</dc:creator>
      <dc:date>2011-10-17T08:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setup model to prompt user to type in value - Calculate Field tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461412#M15535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Enclose the expression with triple-quote as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;"""%String%"""&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This expression will work for both VB and Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 15:14:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/setup-model-to-prompt-user-to-type-in-value/m-p/461412#M15535</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2011-10-17T15:14:42Z</dc:date>
    </item>
  </channel>
</rss>

