English

How To: Make user-defined values the selection set for input of the geoprocessing widget in ArcGIS Pro

Summary

The Select widget, available in Web AppBuilder for Developers 2.1 and later, as well as the ArcGIS Online Web AppBuilder, provides the useful functionality to make a selection set and have that be the input of a geoprocessing service configured in the geoprocessing widget. However, to do this the underlying model or script must be configured in a way to accept 'user defined values'.

This is complementary to article number 000014552 and applies to ArcGIS Pro.

Procedure

In the end, the Geoprocessing service was able to work based on adapting the themes presented in technical article 000014552: How To: Make the selection set of the Select widget the input of the geoprocessing widget in Web AppBuilder

To have this functionality, the initial input into the model or script must be a transportable dataset. A transportable dataset refers a data type that supports the user defined value input mode.

The following data types are transportable and support the user defined value input mode:

  • Feature Class
  • Feature Layer
  • Feature Set
  • Raster Layer
  • Raster Dataset
  • Table
  • Table View
  • Record Set
  • File
  1. To determine what type of dataset a tool accepts, check the tool's reference page. 
  2. Ensure that the initial input must also be made a model parameter so that the user can define the input. In the Share As Web Tool dialog, on the Content pane, select the pencil icon to the right of the model. This shown is the following image:
InkedCapture_LI.jpg
  1. To ensure that it is transportable, from the Input Mode drop-down, select User defined value, as shown in the following image:
Inkedweblayer_LI.jpg

The service can be published and configured in the geoprocessing widget, with the ability to accept user-selected values. 

Related Information

Last Published: 12/30/2021

Article ID: 000025942

Software: ArcGIS Web AppBuilder 2.9, 2.8, 2.7, 2.6, 2.5, 2.4, 2.3, 2.22, 2.21, 2.20, 2.2, 2.19, 2.18, 2.17, 2.16, 2.15, 2.14, 2.13, 2.12, 2.11, 2.10, 2.1, 2.0 ArcGIS Pro 2.9, 2.8.4, 2.8.3, 2.8.2, 2.8.1, 2.8, 2.7.4, 2.7.3, 2.7.2, 2.7.1, 2.7, 2.6.8, 2.6.7, 2.6.6, 2.6.5, 2.6.4, 2.6.3, 2.6.2, 2.6.1, 2.6, 2.5.2, 2.5.1, 2.5, 2.4.3, 2.4.2, 2.4.1, 2.4, 2.3.3, 2.3.2, 2.3.1, 2.3, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0, 1.4.1, 1.4, 1.3.1, 1.3, 1.2