<?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: What is submitted by WAB when pushing inputs into a GP service? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/what-is-submitted-by-wab-when-pushing-inputs-into/m-p/801930#M5234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your python script, you can create a variable and set the value to&amp;nbsp;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&amp;nbsp;for your input parameters. So for example, if the feature layer is the first input parameter and feature set is the second input parameter, you can do something like feature_Layer =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;) and feature_Set =&amp;nbsp;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #666666;"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;In the python toolbox, set the parameter type for feature_Layer to Feature layer and the parameter type for feature_Set to Feature Set and WAB should be able to get your input as an input feature layer or drawn features on the map.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Aug 2016 23:58:01 GMT</pubDate>
    <dc:creator>IfeomaCollins</dc:creator>
    <dc:date>2016-08-14T23:58:01Z</dc:date>
    <item>
      <title>What is submitted by WAB when pushing inputs into a GP service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/what-is-submitted-by-wab-when-pushing-inputs-into/m-p/801929#M5233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone enlighten me as to the inputs that WAB creates when using shapes or a layer as an input into a GP tool? I have published a custom GP service and am trying to use it within a WebApp. Normally the script works by taking in a feature layer (with selection) or feature set (both work). What should the script be set to to read either a drawn shape, or a selection of features in WAB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 04:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/what-is-submitted-by-wab-when-pushing-inputs-into/m-p/801929#M5233</guid>
      <dc:creator>GregStevenson</dc:creator>
      <dc:date>2016-08-04T04:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is submitted by WAB when pushing inputs into a GP service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/what-is-submitted-by-wab-when-pushing-inputs-into/m-p/801930#M5234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your python script, you can create a variable and set the value to&amp;nbsp;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&amp;nbsp;for your input parameters. So for example, if the feature layer is the first input parameter and feature set is the second input parameter, you can do something like feature_Layer =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;) and feature_Set =&amp;nbsp;arcpy&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;GetParameterAsText&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN style="color: #4d4d4d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #666666;"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" style="color: #4d4d4d;"&gt;In the python toolbox, set the parameter type for feature_Layer to Feature layer and the parameter type for feature_Set to Feature Set and WAB should be able to get your input as an input feature layer or drawn features on the map.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2016 23:58:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/what-is-submitted-by-wab-when-pushing-inputs-into/m-p/801930#M5234</guid>
      <dc:creator>IfeomaCollins</dc:creator>
      <dc:date>2016-08-14T23:58:01Z</dc:date>
    </item>
  </channel>
</rss>

