I know this question's scope is bigger than some lines of code, but maybe somebody did this already.
We have like 40 webmap's and i'm trying to add the editable feature layer with the edit widget, because it's just an error reporting layer, so the user doesn't really need to see it all the time. I configured the edit widget with it's config, i see the printed parameters, if i open the widget.
Any idea what i missed?
This is how i load it:
addErrorReportLyr: function(){
{id:"errorReports"});
this