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?
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.
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:
Hi @Bud , thank you for pointing out this discrepancy. The Survey123 team is looking into updating the default string length to match AGO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.