AnsweredAssumed Answered

Switch Map Service layers to Feature layers for editing in Smart Editor widget

Question asked by mihkelmanna on Jun 28, 2017
Latest reply on Oct 26, 2017 by Alibarakat

I'm looking to implement an extension to the Smart Editor widget that would replace some Map Service layers in my app to Feature Service layers when the widget is opened. That would make them available for editing and I would benefit from the map service design (custom labels etc.) when the widget is not active.


Has anyone managed to accomplish this? I'm not sure what would be the best way to approach this.


At the moment, I'm trying to replace the Map Service layers with their Portal Item Feature Layer equivalents before the widget is started up but I have problems with the widget not recognizing them as editable layers. Is this the way to go at all? Thanks for any suggestions/advice!