Another question about maxRecordCount.
My AGOL Hosted point Feature Layer only allows up to 1000 selected features in my Webapp.
Like many others before me, I have tried updating the Service Definition maxRecordCount to a higher number(10,000) and save, but the selection still stays at 1000. and it also reverts back to 1000 in the Service Defintion. there are a few places to update that maxRecordCount in the definition, and only one of those reverts back to the lower number.
ESRI can we please get an explanation on Selecting AGOL Hosted Features? please advise how to raise that maximum selection.
thx!
Solved! Go to Solution.
@Paco wrote:Yes. I am opening the specific Hosted Feature Layer in AGOL(using 'View' URL on the Overview page. which gets me to the ArcGIS REST Services Directory, and clicking on "Admin" in the upper right, and clicking on "Update Definition" at the bottom.
searching for and updating "maxRecordCount" and "lastEditDate"(10,000 and null) and clicking on "Update Service Defintion".
But after you click 'View', are you clicking on the layer name before clicking 'Admin'?
Holly! I actually was going to post a conclusion to my question earlier today! and THIS was the issue. thanks for posting. I was not going far enough into the Service and choosing the specific Layer. I didn't think I needed to because I only had One Layer per Service, but I did.
so, click Service URL, CHOOSE LAYER, Admin, and alter the field numbers. even if there is only One Layer in the Service.
Thank you everyone for your input. moving forward now!
p
Cool! Glad I could help! (Or that you figured it out on your own!) 🙂
what is the maxrecordcount that you can set. i'm querying a service that has about 491,000 records and i know that my query should have about 144,771 records in it. how can I pull back that or is it too much?
According to this resource, "for ArcGIS Online hosted services, maxRecordCount has an upper limit of 32000 for points, and an upper limit of 4000 for lines and polygons."