Select to view content in your preferred language

Web AppBuilder Geoprocessing Widget Limitation?

569
3
08-31-2022 12:45 PM
ZacharyHart
Honored Contributor

I have a GP widget published to our Enterprise environment. There is a parameter exposed for user-input from a field within a feature class.

  • When using this GP tool in Pro, all records from this field are available in the choice list.
  • When using this GP tool as an Analysis tool in Map Viewer, all records from this field are available in the choice list.
  • When using this GP tool via the Geoprocessing widget in Web AppBuilder, only a limited list of records are available in the choice list. This list does not appear to be cut-off at some point say alphabetically or anything.

Why doesn't the GP widget poll/return all available records in the field?

0 Kudos
3 Replies
LefterisKoumis
Frequent Contributor

If you are using REST services on your widget, then you are probably limited by the setting MaxRecondCount. You can change the limit on the ArcGIS Server Manager.

LefterisKoumis_0-1661978884869.png

 

0 Kudos
ZacharyHart
Honored Contributor

Why would the behavior be different when consuming the published GP tool in Pro and Map Viewer then? This only occurs with the GP Widget in App builder....

0 Kudos
ZacharyHart
Honored Contributor

Update on further testing:

  1. I also tried adding the the tool as a portal item to the widget, but the behavior remains the same.
  2. Curiously, if I browse to the service URL, under the parameter listings for the parameter which reference the field mentioned above, there is a snap shot of the choice list and it is an incomplete list.

 

0 Kudos