laptop and a wrench

Error

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 (&).

Última publicación: September 8, 2020 ArcGIS Survey123
Número de ID del error BUG-000120041
EnviadoFebruary 13, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS Survey123
Versión encontrada3.2
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

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); } ```

Pasos para reproducir

ID del error: BUG-000120041

Software:

  • ArcGIS Survey123

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga