Select to view content in your preferred language

Run Python script after user input in web map

565
2
05-23-2023 07:31 PM
DMH_Hobart
Emerging Contributor

We have a python script that is used to link photos that reside in a certain network location to a field in a geodatabase. 

The task is currently very manual, and the script takes a folder location at a parameter. 

Is it possible to create an ArcGIS Portal web app where the user can select the folder and then passes that folder as a parameter to run the script?

Tags (2)
0 Kudos
2 Replies
Kara_Shindle
Frequent Contributor

I've created scripts that take a folder as an input.  You could probably create a geoprocessing service & put that into an app.

0 Kudos
BlakeTerhune
MVP Regular Contributor

Web apps aren't good for working with local files. Have you considered a Python toolbox? You could share it as a geoprocessing service.

0 Kudos