laptop and a wrench

Bug

Unable to add attachments to a feature layer using the applyEdits operation.

Last Published: March 28, 2023 ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000131051
SubmittedMay 21, 2020
Last ModifiedDecember 6, 2024
Applies toArcGIS Maps SDK for JavaScript
Version found4.15
Operating SystemWindows OS
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

The global ID value of the attachment has an incorrect format. An example of a global ID which works for an attachment is '989169a5-5739-446a-b185-905c3a6dae13'. Refer to https://codepen.io/laurenb14/pen/YzOOOWN?editors=1000 for a codepen which successfully adds an attachment to the state of California.

Workaround

Set useGlobalIds to 'false' in the code and in Postman. Global IDs are still included in the response.

Steps to Reproduce

Bug ID: BUG-000131051

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options