<?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 Geoprocessing Widget - OnComplete in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-widget-oncomplete/m-p/367461#M34080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to code a widget that edits the symbology of an output map service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a widget that works using a predefined path, so that part im ok with:&amp;nbsp; &amp;nbsp;e.g.&amp;nbsp; &amp;nbsp; mapservice/0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to somehow run a Geoprocessing Tool,&amp;nbsp; &amp;nbsp;then pass the&amp;nbsp; &amp;nbsp; &amp;nbsp;jobid/mapservice/0&amp;nbsp; &amp;nbsp; &amp;nbsp;to my existing widget. (Or write a new widget, whatever is required!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas how this should be accomplished? Maybe I just need to get the output JobID into a javascript variable and can work it out from there, does the geoprocessing widget emit any events?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibly these threads are relevant but im not sure:&lt;BR /&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/10.3/analyze/sharing-workflows/using-result-map-service-in-web-applications.htm#GUID-8ACD3C92-32F3-4C0D-A960-7E24EFBF2733" title="https://desktop.arcgis.com/en/arcmap/10.3/analyze/sharing-workflows/using-result-map-service-in-web-applications.htm#GUID-8ACD3C92-32F3-4C0D-A960-7E24EFBF2733"&gt;Using result map service in web applications—ArcMap | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/send-a-layer-to-attribute-table-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/send-a-layer-to-attribute-table-widget.htm"&gt;Send a layer to the Attribute Table widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 11:38:59 GMT</pubDate>
    <dc:creator>LukeWebb</dc:creator>
    <dc:date>2020-06-02T11:38:59Z</dc:date>
    <item>
      <title>Geoprocessing Widget - OnComplete</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-widget-oncomplete/m-p/367461#M34080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to code a widget that edits the symbology of an output map service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a widget that works using a predefined path, so that part im ok with:&amp;nbsp; &amp;nbsp;e.g.&amp;nbsp; &amp;nbsp; mapservice/0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to somehow run a Geoprocessing Tool,&amp;nbsp; &amp;nbsp;then pass the&amp;nbsp; &amp;nbsp; &amp;nbsp;jobid/mapservice/0&amp;nbsp; &amp;nbsp; &amp;nbsp;to my existing widget. (Or write a new widget, whatever is required!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas how this should be accomplished? Maybe I just need to get the output JobID into a javascript variable and can work it out from there, does the geoprocessing widget emit any events?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibly these threads are relevant but im not sure:&lt;BR /&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/10.3/analyze/sharing-workflows/using-result-map-service-in-web-applications.htm#GUID-8ACD3C92-32F3-4C0D-A960-7E24EFBF2733" title="https://desktop.arcgis.com/en/arcmap/10.3/analyze/sharing-workflows/using-result-map-service-in-web-applications.htm#GUID-8ACD3C92-32F3-4C0D-A960-7E24EFBF2733"&gt;Using result map service in web applications—ArcMap | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/sample-code/send-a-layer-to-attribute-table-widget.htm" title="https://developers.arcgis.com/web-appbuilder/sample-code/send-a-layer-to-attribute-table-widget.htm"&gt;Send a layer to the Attribute Table widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geoprocessing-widget-oncomplete/m-p/367461#M34080</guid>
      <dc:creator>LukeWebb</dc:creator>
      <dc:date>2020-06-02T11:38:59Z</dc:date>
    </item>
  </channel>
</rss>

