laptop and a wrench

Error

The Guid() Arcade function does not evaluate in a smart form in Map Viewer (ArcGIS API for JavaScript 4.x).

Última publicación: August 26, 2022 ArcGIS API for JavaScript
Número de ID del error BUG-000151856
EnviadoAugust 25, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.24
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

This issue is not reproducible in ArcGIS Online Map Viewer. The Guid function evaluates as expected.

Solución alternativa

  1. Open the feature layer's Data tab from the item details page.
  2. In the table view, click the name of the new field, then click Calculate.
  3. Click Arcade.
  4. Type in the expression: return Guid().
  5. Click OK.
  6. All records are updated as expected.
  7. Alternatively, add the feature layer to a map in ArcGIS Pro, run the Feature Class To Feature Class tool to create a local copy of the feature layer, run the Add Global IDs tool, and overwrite the existing feature layer.

Pasos para reproducir

ID del error: BUG-000151856

Software:

  • ArcGIS API for JavaScript

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