Hello, I would like not display the attchments when I Edit a feature. The Esri script works like a charm https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=popup-editaction but I don't find the way to hide attchments.
Any Ideas?
Thank you everybody and merry Christmas!
Hi @KARIMLABIDI ,
If you're wanting to hide the attachments widget in the Editor's UI, you can set the allowAttachments property on the LayerInfo to false. The following codepen is the Popup with Edit Action sample with the allowAttachments property set to false on line 142: https://codepen.io/laurenb14/pen/poZEJYZ?editors=1000
Hope this helps!
Thank you Laurent, it works!!
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.