Hi,
I wrote a python script to check data validations of all feature classes in a user's file geodatabase. I put the script into a toolbox and set a parameter to the script. So when a user run it, a window pops up to let the user to choose a file geodatabase.
But after I published it to our ArcGIS server as a geoprocessing service successfully, the parameter part disappeared when I ran the service. I couldn't choose my file geodatabase.
I tried to set the parameter as "Workspace" or "Any value", but both had the same issue. How should I set the parameter to make it not disappeared after publishing the service? Thanks for your help!
Saili
Solved! Go to Solution.
File geodatabase is not a supported data type for a geoprocessing service. So, I changed the input to zipped file geodatabase and I added a piece of code in the script to unzip it.
File geodatabase is not a supported data type for a geoprocessing service. So, I changed the input to zipped file geodatabase and I added a piece of code in the script to unzip it.