I have created a FeatureLayer from a sublayer of a Dynamic Layer. Queries to the FeatureLayer will only return 1,000 features at once. I've used the num and start properties of the Query object to page results in the past, however, both the Dynamic Layer and the sublayer have the Max Record Count property set to 5,000 on the server. So, I'd like to be able to take advantage of that.
When I observe my instance of the FeatureLayer in Developer Tools at runtime, it says the maxRecordCount is 1,000.
Any ideas why the FeatureLayer continues to default to 1,000? I've referenced other posts here that all suggest setting the MaxRecordCount is the fix. However, to my knowledge, the GIS folks have set this property as suggested.