Is there a way to limit how many records can be exported to CSV from the Attribute Table widget?
If not, is there a way to limit how many records can be returned from a query on the service itself?
It is likely possible. What is the criteria that you will use to limit the records?
We'd like to limit the export to 1,000 records. It will be for a tax parcels dataset.
We're using the Enhanced Search widget, and would want the limit to apply to that tool as well, if possible.
Looking though the code this is going to be a lot harder then I thought. The AT widget does only export the rows you have selected to the csv.
Yeah, that's what I figured. I don't think our Tax Assessment office will be keen on people being able to export the entire tax database.
You mentioned that you are using the eSearch. So if you are then the eSearch will only return the maxFeatureCount that the server allows and when you export to CSV from the eSearch Search results then the export will be limited to those numbers. If you remove/uncheck the taxlot layer from the AT Widget settings then it will not be present in the AT Widget and thus you can not export all the tax lots.
Retrieving data ...