AnsweredAssumed Answered

Adding SQL Expression to Data Extract Tool

Question asked by rosey.hart_CL on May 23, 2018

I am using two layers in a web app and have published the server Data Extract Tool as a geoprocessing service for use as a tool in the app in order to export to shapefile and various formats. Unfortunately Filtering the layer to defined attributes prior to running the tool does not filter the results from the tool as it is referencing the layer directly. I was therefore hoping to incorporate an expression into the tool to be able to search a field for certain criteria that will appear as a drop-down box in the web app tool window. For example, be able to Extract only polygons that fall within a certain administrative boundary (recorded as a text attribute).

 

Is there a way to do this in python? I am only a novice in python and it is out of my skill set. Or is there any other possible solution?

Outcomes