laptop and a wrench

Bogue

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

Dernière publication: August 26, 2022 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000151856
EnvoiAugust 25, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.24
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

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

Solution de contournement

  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.

Étapes pour reproduire

ID de bogue: BUG-000151856

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement