laptop and a wrench

Bug

The Survey123 for ArcGIS field app fails to pass values to another survey via a custom URL if the field values contain quotes or ampersand (&).

Zuletzt veröffentlicht: September 8, 2020 ArcGIS Survey123
Bug-ID-Nummer BUG-000120041
EingereichtFebruary 13, 2019
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Survey123
Gefunden in Version3.2
BetriebssystemN/A
BetriebssystemversionN/A
StatusWill Not Be Addressed

Zusätzliche Informationen

This issue is caused by the URL not being encoded correctly; ampersands and other special characters must be percent-encoded (refer to https://tools.ietf.org/html/rfc3986#section-2.1 or https://en.wikipedia.org/wiki/Percent-encoding). There is no function to encode values within the XLSForm specification, and detecting when a link is present automatically is difficult due to the number of ways links can be generated. A workaround is available by using custom JavaScript functions (refer to https://doc.arcgis.com/en/survey123/desktop/create-surveys/pulldatajavascript.htm). The following function will return encoded text: ```javascript function encode(inText) { return (inText == undefined) ? "" : encodeURIComponent(inText); } ```

Schritte zur Reproduzierung

Bug-ID: BUG-000120041

Software:

  • ArcGIS Survey123

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln