<?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: Geoprocessing service that uses Field Calculator in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313741#M1995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Xander! &amp;nbsp;Thanks for the reply! &amp;nbsp;The Feature Service actually already has the field that I'd like to populate with&amp;nbsp;the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;concatenation of three&amp;nbsp;other fields. &amp;nbsp;What we're doing is building a URL&amp;nbsp;in that field from a point ID (one field), and two auto populated URL&amp;nbsp;pieces (fields two and three). &amp;nbsp;The final product is a functional URL. The point ID is specified&amp;nbsp;by a user with the editor widget when they add a location to the map. &amp;nbsp;When the new location is created, the two parts to the URL are auto populated in their fields. &amp;nbsp;The next final step&amp;nbsp;would be to run the geoprocessing widget to populate the final field with the combined three pieces. &amp;nbsp;When I run the model that I'm&amp;nbsp;publishing&amp;nbsp;as a Geoprocessing Service locally, it works great at generating the correct URL. &amp;nbsp;What's confusing me is that in the Geoprocessing Widget, the input and the output are the same feature service. &amp;nbsp;When I publish the model as a GP, it runs in the Geoprocessing Widget, but does not &lt;SPAN&gt;concate&lt;/SPAN&gt;nate. &amp;nbsp;Below is a screen grab of the field calculator. &amp;nbsp;Thanks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/227896_Screenshot 2016-09-14 17.26.02.png" style="width: 620px; height: 349px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 17:33:54 GMT</pubDate>
    <dc:creator>StephenSchmidt2</dc:creator>
    <dc:date>2016-09-14T17:33:54Z</dc:date>
    <item>
      <title>Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313739#M1993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!! &amp;nbsp;I'm looking to create a Geoprocessing Service that uses the field calculator tool to concatenate fields. &amp;nbsp;The original feature service is&amp;nbsp;the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:59:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313739#M1993</guid>
      <dc:creator>StephenSchmidt2</dc:creator>
      <dc:date>2016-09-14T16:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313740#M1994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you intent with this GP service&amp;nbsp;to&amp;nbsp;update the schema of the service, adding a new field? Why do you want to do this with a GP service (and how often are you planning to run the GP service, just a single time)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 17:14:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313740#M1994</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-09-14T17:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313741#M1995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Xander! &amp;nbsp;Thanks for the reply! &amp;nbsp;The Feature Service actually already has the field that I'd like to populate with&amp;nbsp;the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;concatenation of three&amp;nbsp;other fields. &amp;nbsp;What we're doing is building a URL&amp;nbsp;in that field from a point ID (one field), and two auto populated URL&amp;nbsp;pieces (fields two and three). &amp;nbsp;The final product is a functional URL. The point ID is specified&amp;nbsp;by a user with the editor widget when they add a location to the map. &amp;nbsp;When the new location is created, the two parts to the URL are auto populated in their fields. &amp;nbsp;The next final step&amp;nbsp;would be to run the geoprocessing widget to populate the final field with the combined three pieces. &amp;nbsp;When I run the model that I'm&amp;nbsp;publishing&amp;nbsp;as a Geoprocessing Service locally, it works great at generating the correct URL. &amp;nbsp;What's confusing me is that in the Geoprocessing Widget, the input and the output are the same feature service. &amp;nbsp;When I publish the model as a GP, it runs in the Geoprocessing Widget, but does not &lt;SPAN&gt;concate&lt;/SPAN&gt;nate. &amp;nbsp;Below is a screen grab of the field calculator. &amp;nbsp;Thanks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/227896_Screenshot 2016-09-14 17.26.02.png" style="width: 620px; height: 349px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 17:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313741#M1995</guid>
      <dc:creator>StephenSchmidt2</dc:creator>
      <dc:date>2016-09-14T17:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313742#M1996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see you have ArcGIS Server installed on your local machine. You could also consider using a scheduled task with a python script that will update the field at a predefined moment. If&amp;nbsp;the FieldCalculator does not work for using&amp;nbsp;a different input and output variable, you could consider writing a simple script that will update the field. I would prefer using the&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm"&gt;UpdateCursor—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;over using the FieldCalculator. Important to configure your service in such a way that it does not lock the schema (see&amp;nbsp;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm" title="http://server.arcgis.com/en/server/latest/administer/windows/disabling-schema-locking-on-a-map-service.htm"&gt;Disabling schema locking on a map service—Documentation (10.4) | ArcGIS for Server&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 19:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313742#M1996</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-09-14T19:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313743#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xander! &amp;nbsp;The scheduled task with a python script is working like I hoped! &amp;nbsp;Thank you for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313743#M1997</guid>
      <dc:creator>StephenSchmidt2</dc:creator>
      <dc:date>2016-09-16T14:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing service that uses Field Calculator</title>
      <link>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313744#M1998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great to hear that. Congratulations!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/geoprocessing-service-that-uses-field-calculator/m-p/313744#M1998</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-09-16T15:03:28Z</dc:date>
    </item>
  </channel>
</rss>

