laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 26, 2022 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000151856
EingereichtAugust 25, 2022
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.24
BetriebssystemN/A
BetriebssystemversionN/A
StatusNon-Reproducible

Zusätzliche Informationen

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

Workaround

  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.

Schritte zur Reproduzierung

Bug-ID: BUG-000151856

Software:

  • ArcGIS API for JavaScript

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