<?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 Modify Analysis Widget WAB in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/modify-analysis-widget-wab/m-p/666648#M17641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to modify some of the operations (Aggregate Points, etc) of the WAB Analysis widget with the ArcGIS JS API (3.X).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to filter the features&amp;nbsp; of the layers involved in the analysis operations, and pass to the geoprocessing service only the filtered features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget uses geoprocessing service, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints"&gt;-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/XXXX"&gt;-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/XXXX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't see in the code (Widget.js) where the geoprocessing service is called, and how the parameters are passed to it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see when geoprocessing service is called in the Network tab of the developer tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/479119_I1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last line of code that runs before the geoprocessing service is called &amp;nbsp;is this (I believe):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/479118_i2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do not see how I can modify the code to pass my own parameters. For example, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/gp_resultmapservice.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/gp_resultmapservice.html&lt;/A&gt; &lt;SPAN&gt;(Class: Geoprocessor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jan 2020 07:57:27 GMT</pubDate>
    <dc:creator>AlbertoLópez</dc:creator>
    <dc:date>2020-01-24T07:57:27Z</dc:date>
    <item>
      <title>Modify Analysis Widget WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/modify-analysis-widget-wab/m-p/666648#M17641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to modify some of the operations (Aggregate Points, etc) of the WAB Analysis widget with the ArcGIS JS API (3.X).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to filter the features&amp;nbsp; of the layers involved in the analysis operations, and pass to the geoprocessing service only the filtered features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget uses geoprocessing service, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints"&gt;-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/XXXX"&gt;-https://analysis6.arcgis.com/arcgis/rest/services/tasks/GPServer/XXXX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't see in the code (Widget.js) where the geoprocessing service is called, and how the parameters are passed to it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see when geoprocessing service is called in the Network tab of the developer tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/479119_I1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last line of code that runs before the geoprocessing service is called &amp;nbsp;is this (I believe):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/479118_i2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do not see how I can modify the code to pass my own parameters. For example, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/gp_resultmapservice.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/gp_resultmapservice.html&lt;/A&gt; &lt;SPAN&gt;(Class: Geoprocessor)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 07:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/modify-analysis-widget-wab/m-p/666648#M17641</guid>
      <dc:creator>AlbertoLópez</dc:creator>
      <dc:date>2020-01-24T07:57:27Z</dc:date>
    </item>
  </channel>
</rss>

