Survey123 inbox limit?

942
7
Jump to solution
06-19-2019 10:25 AM
Highlighted
Occasional Contributor II

I designed a survey for individuals to inspect insect traps. Each trap will be reinspected on a 21-day cycle. Currently, there are over 1,200 such traps and will likely be more as the season progresses. However, when they go to the inbox on the survey and refresh, only 1,000 records are populated. I know there is a way to filter the list to limit the number of records, but is there a way to increase the apparent limit from 1,000? (Ultimately, they use the map filter when in the field, but need all of the trap locations to refresh.)

Thanks.

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Frequent Contributor

Hi Todd,

The 1,000 limit is actually set on the feature layer, this is the default setting when you create a new feature service. You need to modify the max record count of the feature layer if you want to be able to query more than 1,000 records at one time.

Phil.

View solution in original post

7 Replies
Highlighted
Esri Frequent Contributor

Hi Todd,

The 1,000 limit is actually set on the feature layer, this is the default setting when you create a new feature service. You need to modify the max record count of the feature layer if you want to be able to query more than 1,000 records at one time.

Phil.

View solution in original post

Highlighted
Occasional Contributor II

Excellent. Thank you.

Reply
0 Kudos
Highlighted
Occasional Contributor II

Thanks again for your reply.


I have gone to the following page:

How To: Update the maximum record count for feature services in ArcGIS Online 

However, this is for ArcGIS Online and we are using our own Portal. When I go to Update Definition, I only get an input box rather than the full layer definition.

So, using the examples here: Update Definition (Feature Layer)—ArcGIS REST API: Services Directory | ArcGIS for Developers, I tried the following: { "MaxRecordCount" : 5000 } I receive the following error message:

{  "error": {   "code": 500,   "message": "Field 'MaxRecordCount' cannot be updated.",   "details": []  } }

Any suggestions?

Reply
0 Kudos
Highlighted
Esri Frequent Contributor

Hi Todd,

I am not sure about that error and how to update MaxRecrodCount another wayon Portal if it is not letting you do it via the update definition rest endpoint. 

It may be a better idea to ask this question directly in the Portal for ArcGIS GeoNet forum, as it is related directly to Portal and feature services, and not Surey123: https://community.esri.com/community/gis/web-gis/portal-for-arcgis/content

Phil.

Highlighted
Occasional Contributor II

Hi Todd

Did you ever get a resolution on this?  I am hitting the same road blocks.

Cheers

Chris

Reply
0 Kudos
Highlighted
Occasional Contributor II

Hi Chris,

I did. And it was convoluted and honestly don't recall how I eventually figured it out. Nonetheless, I had to do it again, struggled through it by memory, and finally wised up and wrote down my steps. These notes were written for one person in mind (myself), but perhaps they will help you, too. I have removed the service URLs (and if you use a different port, you will need to update that, too, of course), but these are otherwise my notes verbatim:

1. Go here: https://[server url]:6443/arcgis/admin/
2. Generate token for https://[hosted layer url]
3. Go to https://[server url]:6443/arcgis/admin/ and login with generated token
4. Once logged in, go to services
5. Click the correct service
6. Enter the following URL: https://[hosted layer url]/edit
7. Change   "maxRecordCount": 1000, to another value, e.g.   "maxRecordCount": 5000,
8.  Save the edits

Side note: for step one, you may be able to go directly to https://[server url]/portal/sharing/rest/generateToken to generate the token.

Hopefully, my notes will be of use to you.

Todd

Highlighted
Occasional Contributor II

Thanks for the info Todd

Much appreciated

Reply
0 Kudos