Hi All,
I was wondering if anyone would know how to toggle whether a layer is editable or not.
I am building a custom Add-in and would like a way to make a layer editable or uneditable based on layer name.
Thanks
Hi,
It is simple. Use SetEditable method fromĀ layer.
fl.SetEditable(fl.Name == "Blabla");
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.