Solved! Go to Solution.
<configuration> <layer>Your service URL</layer> <titlefield>PD_NAME</titlefield> <fields all="false"> <field name="PD_NAME"/> <field name="ADDRESS" alias="Address"/> </fields> <filterfield> <name>yourfieldname</name> <alias>text you want to appear above user input</alias> </filterfield> <linkfield></linkfield> <refreshrate></refreshrate> <zoomscale>20000</zoomscale> <query>1=1</query> </configuration>
Anthony,
Thank you so much for the explanation, it helped tremendously.
I have a question though. Is the query limited to a certain number of results? The query is running against 167,000 plus records and is only displaying a result of 1000. I can't really tell where the selection is, but it definitely isn't county wide.
If it will only return a limited amount of results, this probably will not work in the situation that I am trying to use it in.
Thank you again for the reply!!
Gavin,
The number of results returned from a service is set in the properties of the service when you publish it, on a 10.1 server this has a default value of 1000.
http://resources.arcgis.com/en/help/main/10.1/index.html#/Setting_map_service_properties/0154000003p...
You can push this number up but you may find it slows your service down. I would guess that 167,000 points will be far to many.
Anthony