Select to view content in your preferred language

How to limit the number for the seleted records in Graphic search for Esearch Widget

2113
2
Jump to solution
05-20-2013 11:54 AM
ZhujingXia
Frequent Contributor
Roblert,

Another question for the Graphic search in Eseach widget. Where I can modify the code to only allow 50 as the maxium selcted results?
For instance, if the user use polygon the select the parcels,  I only like to let user get the first 50 records in the grid result. I do not like user got all the parcels.

Thanks
Zhujing
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
The number of returned features is set in service properties, by default this is 500 on a 9.3.1 server and 1000 on a 10 server.

http://resources.arcgis.com/en/help/main/10.1/index.html#//0155000003nv000000

Change this value to 50 and your service will only return 50 records.

Regards

Anthony

View solution in original post

0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
The number of returned features is set in service properties, by default this is 500 on a 9.3.1 server and 1000 on a 10 server.

http://resources.arcgis.com/en/help/main/10.1/index.html#//0155000003nv000000

Change this value to 50 and your service will only return 50 records.

Regards

Anthony
0 Kudos
ZhujingXia
Frequent Contributor
Anthony,

Thank you. It worked.
Is there a way to change the code?

Thanks
Zhujing
0 Kudos