<?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 How to Implement Custom tool Validation for Geoprocessing Widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578884#M15488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a geoprocessing service to the Geoprocessing widget in Web AppBuilder.&amp;nbsp; Within the GP tool that was authored in ArcGIS Desktop, I have some custom validation logic written using Python, which works fine when running the GP tool in ArcGIS Desktop, but which is ignored when publishing the tool as a GP service and running it via Web AppBuilder's Geoprocessing widget.&amp;nbsp; The UI for my tool consists of 2 drop-down menus to collect the 2 input parameters from the user.&amp;nbsp; The parameter validation needs to happen before tool execution, and I need the validation logic to update the values in the 2nd drop-down menu based on the value that the user chooses in the 1st drop-down menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that a possible approach to implementing this type of special validation code would entail using the Developer Edition of Web AppBuilder to customize the "Settings UI".&amp;nbsp; Anyone have experience with this type of client-side parameter validation in Web AppBuilder who would be willing to share some tips with me?&amp;nbsp; Is this something that would be relatively easy to do, or does it require advanced JavaScript development or experience with the API?&amp;nbsp; Thanks for any feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2015 17:11:13 GMT</pubDate>
    <dc:creator>AlexisGreen</dc:creator>
    <dc:date>2015-09-16T17:11:13Z</dc:date>
    <item>
      <title>How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578884#M15488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a geoprocessing service to the Geoprocessing widget in Web AppBuilder.&amp;nbsp; Within the GP tool that was authored in ArcGIS Desktop, I have some custom validation logic written using Python, which works fine when running the GP tool in ArcGIS Desktop, but which is ignored when publishing the tool as a GP service and running it via Web AppBuilder's Geoprocessing widget.&amp;nbsp; The UI for my tool consists of 2 drop-down menus to collect the 2 input parameters from the user.&amp;nbsp; The parameter validation needs to happen before tool execution, and I need the validation logic to update the values in the 2nd drop-down menu based on the value that the user chooses in the 1st drop-down menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that a possible approach to implementing this type of special validation code would entail using the Developer Edition of Web AppBuilder to customize the "Settings UI".&amp;nbsp; Anyone have experience with this type of client-side parameter validation in Web AppBuilder who would be willing to share some tips with me?&amp;nbsp; Is this something that would be relatively easy to do, or does it require advanced JavaScript development or experience with the API?&amp;nbsp; Thanks for any feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 17:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578884#M15488</guid>
      <dc:creator>AlexisGreen</dc:creator>
      <dc:date>2015-09-16T17:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578885#M15489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The Geoprocessing widget in Web AppBuilder is a general purpose tool. It doesn't provide such method to set the validation rules for each parameter. Maybe it's a good idea to valid parameter in the client, but all information of Geoprocessing widget in setting page comes from the service definition where there is nothing about the validation rules for input parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I think it's better to develop a custom widget to do the things you want if possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 02:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578885#M15489</guid>
      <dc:creator>JianWang3</dc:creator>
      <dc:date>2015-09-17T02:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578886#M15490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback. In planning a strategy, I was under the impression that modifying/extending the Out of Box Geoprocessing widget in the Web AppBuilder would be easier than starting "from scratch" writing a whole new custom widget, but perhaps not.&amp;nbsp; Anyone built a custom widget with parameter validation logic similar to what can be done in a Python script tool?&amp;nbsp; I'm leaning toward the JavaScript API for cross-platform support.&amp;nbsp; I would be very grateful for advice on how to get started doing this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 13:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578886#M15490</guid>
      <dc:creator>AlexisGreen</dc:creator>
      <dc:date>2015-09-17T13:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578887#M15491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every get anywhere on this?&amp;nbsp; I agree the code site in the query widget so no need to start over.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 21:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578887#M15491</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-05-03T21:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578888#M15492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is my understanding based on what I've seen, that only a Python Toolbox published as a GP Service will provide dynamically updating Choice Lists.&amp;nbsp; I don't know why a script tool would not also work.&amp;nbsp; Does Esri have any guidance on this.&amp;nbsp; Does a Python Toolbox run the&amp;nbsp; Custom Validation Code when it gets published as a GP Service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 17:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578888#M15492</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2019-12-06T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578889#M15493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have the same problem here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 17:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578889#M15493</guid>
      <dc:creator>JulioGaspar1</dc:creator>
      <dc:date>2020-03-02T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578890#M15494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running into the same a problem. Along with this, apparently even multivalue parameter in a script tool doesn't work as expected when published as a gp service.&lt;/P&gt;&lt;P&gt;Any guidance on custom widget would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 18:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578890#M15494</guid>
      <dc:creator>JyotiRohodia</dc:creator>
      <dc:date>2020-04-20T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578891#M15495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen this working in a python toolbox. but I have not yet tested myself.&amp;nbsp; I am thinking that the extra python may have more control over the input drop down list.&amp;nbsp; This is just a hunch based on one other GP service I've seen that I believe had an updating pickList.&amp;nbsp; I've not found much documentation on this either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 11:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578891#M15495</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2020-04-21T11:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578892#M15496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;Thank you for your reply. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the multi-value parameter in python toolbox (.pyt). Apparently both script tool and .pyt toolbox allows multivalue parameter.&lt;/P&gt;&lt;P&gt;But, when we publish these tools to Arc Server (10.6), they allow you to choose multiple inputs based on the data layers which were copied over along with the tool- so the inputs become STATIC. I would like to have the option to upload my own multiple layers while running the tool - more like DYNAMIC inputs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior could be seen when you publish a basic Merge gp tool as well (this tool which is suppose to accept multiple inputs).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 12:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578892#M15496</guid>
      <dc:creator>JyotiRohodia</dc:creator>
      <dc:date>2020-04-21T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578893#M15497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any update on this? I am trying to publish a gp service to be used in WAB that allows the user to select any layer within the first parameter and have a dropdown in the second parameter of fields associated with that layer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 03:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578893#M15497</guid>
      <dc:creator>LanceKirby2</dc:creator>
      <dc:date>2020-06-26T03:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578894#M15498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can achieve this workflow using a script tool in ArcGIS Pro. Configure Field type parameter and set "Dependency" on the input layer.- inside script tool properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 06:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578894#M15498</guid>
      <dc:creator>JyotiRohodia</dc:creator>
      <dc:date>2020-06-26T06:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578895#M15499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jyoti. I've tried to get that to work several times. I was hoping someone could confirm that they have actually implemented it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/578895#M15499</guid>
      <dc:creator>LanceKirby2</dc:creator>
      <dc:date>2020-06-26T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1112315#M21514</link>
      <description>&lt;P&gt;Unfortunately, I can confirm that validation code &lt;U&gt;does not&lt;/U&gt; carry over from a Python Toolbox to GP Server. I have a Python Toolbox (not a Script Tool) published as a GP Service to ArcGIS Enterprise 1081. The toolbox has validation code to update a parameter's drop down lists based on the user updating another parameter. This functionality does not carry over to the GP Widget in Web AppBuilder after publishing as a GP Service.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 03:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1112315#M21514</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2021-10-29T03:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1112318#M21515</link>
      <description>&lt;P&gt;I'm hitting the same wall with a very similar issue. Unfortuatenly I think validation code from a working Python toolbox does not carry over to the GP Widget in WAB. This guy had this same problem and 2016 and suggests building the functionality in JS rather than python. Ugh...&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ifeomacollins.com/blog/geoprocessing-publish-arcmap-lessons-learned/" target="_blank"&gt;3 Lessons I Learned from Publishing Geoprocessing Services in ArcMap (ifeomacollins.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 03:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1112318#M21515</guid>
      <dc:creator>tigerwoulds</dc:creator>
      <dc:date>2021-10-29T03:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Implement Custom tool Validation for Geoprocessing Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1534346#M23590</link>
      <description>&lt;P&gt;I ran into this issue now on ArcGIS Enterprise 11.3, validation of the parameters does not work when you publish a Web Tool from ArcGIS Pro, while it works in Pro. I have made a tool using Python Toolbox and require dropdown to be populated based on the layer chosen in the first parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I embeded the custom GP Tool in the Experience Builder Analysis Widget and it still seems that its not possible, the parameters remain static with the values you used when you run the tool in Pro.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 13:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-implement-custom-tool-validation-for/m-p/1534346#M23590</guid>
      <dc:creator>SerjStol</dc:creator>
      <dc:date>2024-09-03T13:00:34Z</dc:date>
    </item>
  </channel>
</rss>

