displayId of undefined in filename https://js.arcgis.com/4.20/esri/views/2d/layers/features/Pipeline.js

650
2
Jump to solution
07-28-2021 08:42 AM
RobertBossio
New Contributor II

layer.applyEdits with deleteFeatures parameter causes error below with v4.20 of JavaScript API. Is there a solution for this, or will there be a fix soon? V4.19 works fine with the exact same code. Thanks.

RobertBossio_0-1627486820490.png

 

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

Do you have a demo or some code to test against? This sample deletes features with no error.

https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=editing-applyedits

View solution in original post

0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor

Do you have a demo or some code to test against? This sample deletes features with no error.

https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=editing-applyedits

0 Kudos
RobertBossio
New Contributor II

Rene - thanks for your feedback. I'm not sure what changed (I didn't change code - famous last words, I know), but able to apply deleteFeatures successfully referencing v4.20 of the API. Wondering if esri fixed/updated. In any case, it's working for me now. Unfortunately, I don't know what the solution was.

0 Kudos