Web Tool User-Defined Input Data

168
2
Jump to solution
12-03-2020 02:50 PM
DylanMurphy
New Contributor II

Hi, I am relatively new to enterprise and authoring/publishing web tools, so bear with me.

I am attempting to publish a web tool that will allow for the end-user (non-GIS professionals in my organization) to provide a pair of .csv files as input for analysis. This tool will have to be run many times with different input files as they become available and thus I need the tool to allow the user to upload/select their own input data. However, I am struggling to understand how to do this. The model tool I am trying to publish works successfully in ArcGIS Pro and has input parameters for selecting the relevant .csv files. When I publish the web tool, though, I can only run the tool using the inputs that I used to run the model tool prior to publishing.

 

How would I set this tool up to allow the end-user to upload their own .csv files for analysis?

Thanks for any help you can provide - surely there is something simple that I am missing here. 

Reply
0 Kudos
1 Solution

Accepted Solutions
CalvinLietz
Esri Contributor

Hi Dylan, 

When publishing the analysis result as a geoprocessing service, you can configure the input mode for each parameter from the Content panel of the Geoprocessing pane. 

The options for Input mode are:

  • User defined value
  • Choice list
  • Constant

If you change the input mode to user defined value, then the client will be prompted to provide the input for the tool when running the geoprocessing service. 

You can learn more about these settings here: https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/share-analysis/geoprocessing-services-...

Hope this helps!

-Calvin

View solution in original post

Reply
0 Kudos
2 Replies
CalvinLietz
Esri Contributor

Hi Dylan, 

When publishing the analysis result as a geoprocessing service, you can configure the input mode for each parameter from the Content panel of the Geoprocessing pane. 

The options for Input mode are:

  • User defined value
  • Choice list
  • Constant

If you change the input mode to user defined value, then the client will be prompted to provide the input for the tool when running the geoprocessing service. 

You can learn more about these settings here: https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/share-analysis/geoprocessing-services-...

Hope this helps!

-Calvin

View solution in original post

Reply
0 Kudos
DylanMurphy
New Contributor II

Thanks, Calvin! This is exactly what I needed. I knew I must be missing something simple - I had no idea that the menu to edit the input parameters for the tool in the content panel existed. Appreciate the assistance!

Reply
0 Kudos