Select to view content in your preferred language

Consistent default text field length in AGOL and Survey123

301
3
03-15-2026 06:20 AM
Status: In Product Plan
Bud
by
Legendary Contributor

Survey123 Designer text fields are 255 characters long, but a new text field from scratch in AGOL is 256 characters long. This idea is to make the default text field length in AGOL and Survey123 consistent.

Why is Survey123 text field 255 chars, but manually created text field is 256?

3 Comments
Bud
by

One annoying thing about this quirk is that a 255-char Survey123 field gets flagged by the Feature Compare > Schema only geoprocessing tool in ArcGIS Pro as having a different length from a 256-char manually created field.

Bud_0-1776430685899.png

 

That's a nuisance, because in this case, 255 vs. 256 isn't important to me. I'm copying features from a Survey123 feature layer into a manually created feature layer using the editor widget in Experience Builder

Experience Builder questions: What are the rules when copying/pasting a feature into a different feature layer?

...the destination text field needs to be as long or longer than the source field, otherwise the attribute value will not be pasted.

In this case, pasting from 255 to 256 isn't a problem; the value will get pasted without issue. It's only if it were the other way arround, 256 to 255, that would be a problem.

So yeah, it's too bad that these rows are being flagged as having different field lengths, when they were meant to be exactly the same.


Edit:

This quirk would be a bigger problem if I were copying from 256 to 255. In that case, the copy/paste feature functionality in the Experience Builder editor widget would fail (no value pasted into that field). I'd need to lengthen all the 255 fields to 256 (or shorten the 256 fields to 255), which would quite a pain:

  1. Create new fields
  2. Field calculate the values
  3. Delete old fields
  4. Fix all the broken field dependencies (somtimes using the same field name is not enough; the web map dependency still breaks)
AlixVezina
Status changed to: In Product Plan

Hi @Bud , thank you for pointing out this discrepancy. The Survey123 team is looking into updating the default string length to match AGO.

Bud
by

@AlixVezina Great. Thanks.

Should this idea be moved to the Survey123 Ideas Community?