<?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: launch one widget from another in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160780#M4487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alistair,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would just use the Geoprocessor class for the JS API like in this sample:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/gp_servicearea.html" title="https://developers.arcgis.com/javascript/3/jssamples/gp_servicearea.html"&gt;Geoprocessing - Service area task | ArcGIS API for JavaScript 3.21&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the&amp;nbsp;_autoApplyEditWhenGeometryIsModified method of the edit widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jul 2017 13:10:09 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-07-27T13:10:09Z</dc:date>
    <item>
      <title>launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160777#M4484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible at the completion of the user capturing a polygon using the edit widget to launch widget in the web app, so the user doesn't have to know to go and launch it manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 03:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160777#M4484</guid>
      <dc:creator>AlistairFox</dc:creator>
      <dc:date>2017-07-26T03:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160778#M4485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alistair,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Sure this has been answered a few times:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/169518"&gt;https://community.esri.com/thread/169518&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:45:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160778#M4485</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-07-26T12:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160779#M4486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;awesome thanks, new I had seem that somewhere. As an extension to that how would you fire off a geo-processing service on completion of an edit function using the edit widget?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 02:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160779#M4486</guid>
      <dc:creator>AlistairFox</dc:creator>
      <dc:date>2017-07-27T02:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160780#M4487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alistair,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would just use the Geoprocessor class for the JS API like in this sample:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/gp_servicearea.html" title="https://developers.arcgis.com/javascript/3/jssamples/gp_servicearea.html"&gt;Geoprocessing - Service area task | ArcGIS API for JavaScript 3.21&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the&amp;nbsp;_autoApplyEditWhenGeometryIsModified method of the edit widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 13:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160780#M4487</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-07-27T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160781#M4488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;I’ve found the function that runs when the user clicks close on the attribute inspector after creating a new feature in edit widget. I can get an alert to popup from inside that function. But the gp tool code never runs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;I’m wondering if its because its on a widget inside this web app builder framework? And not that same as being just a page using the javascript API??&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;_enableToAnswerEventForEditorATI: function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;alert("geoproc");&lt;/P&gt;&lt;P&gt;&amp;nbsp;//call geoprocessing service&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp = new Geoprocessor("&lt;A href="https://ausyd0-app001.jacobs.com:6443/arcgis/rest/services/EBP_Irwin/Overlay/GPServer/Overlay/submitJob"&gt;https://xxxxx/arcgis/rest/services/EBP_Irwin/Overlay/GPServer/Overlay/submitJob&lt;/A&gt;");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.setOutputSpatialReference({wkid: 102100});&lt;BR /&gt;&amp;nbsp;var params = { "returnZ": false, "returnM": false,"f": "json",&amp;nbsp; };&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.execute(params);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 08:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160781#M4488</guid>
      <dc:creator>AlistairFox</dc:creator>
      <dc:date>2017-07-31T08:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: launch one widget from another</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160782#M4489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alistair,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;No that would not be the issue. WAB is just a custom JS API App. I don't see and result or error callback code in what you posted. Do you see the GP task called in your browsers network tab or any errors in the console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 13:28:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/launch-one-widget-from-another/m-p/160782#M4489</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-07-31T13:28:19Z</dc:date>
    </item>
  </channel>
</rss>

