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!
Solved! Go to Solution.
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!
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!!