Hi,
How to disable Create Features in the Editor Widget. i tried using the below mentioned properties , but i didn't have any luck to disable it. I'm using 4.31 version. Any help in this regard is appreciated.
const editor = new Editor({
layerInfos: [editConfigPolyLayer],
view: view,
This last update broke the edit widget in all of my Experience Builder web apps. The part of the widget that should allow you to do this (The customize Radio button) is what seems to be broken.
Thanks Kevin... It's fine for Experience Builder apps... But I'm using in ArcGis Javascript API. I can't figure the work around for it.. Any suggestions would be very helpful
According to the documentation for layerInfos, addEnabled, updateEnabled, and deleteEnabled are properties of the LayerInfo objects, not the Editor itself:
const editor = new Editor({
view: view,
layerInfos: [
layer: editConfigPolyLayer,
addEnabled: false,
updateEnabled: false,
deleteEnabled: true
]
});