AnsweredAssumed Answered

Does python toolbox tool validation (updateParameters method) work on ArcGIS Server?

Question asked by keith.miller on Apr 11, 2017

I've got a Python toolbox which contains a tool that performs some parameter validation via the updateParameters method (within the ToolValidator class). This method enables/disables some parameters depending on the values of others.

 

This all works fine when running it on ArcMap 10.4. But when I publish the tool as a geoprocessing service to ArcGIS Server 10.4 the validation no longer seems to work. i.e. When performing the same actions that trigger some parameters to become disabled (add some text to another parameter) on Desktop, these actions do nothing when running the geoprocessing service from ArcMap. No parameters are disabled.

 

Does anyone else have any experience of performing parameter validation for geoprocessing services on ArcGIS server? Or is able to give some suggestions as to how I can get this working?

 

Thanks!

Outcomes