Duplicating SmartEditor Widget to customize it?

323
0
05-11-2022 11:20 PM
Labels (2)
Nicole_Ueberschär
Esri Regular Contributor

Hello all,

I am trying to use several instances of the smartEditor widget within one WAB application. As I cannot place it again I duplicated the widget and renamed it (and replaced the name as I believe everywhere within the files). While the widget itself seems ok, I am not able to use both instances, even if I close one before using the other. I keep getting the error "Create widget error: widgets/drawAOI/Widget" (respectively if I open the drawAOI first, then the SmartEditor widget brings the error). From the console I get this error:

create [widgets/drawAOI/Widget] error:Error: dijit._WidgetsInTemplateMixin: parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.

Can someone point me in the right direction what I have to do to be able to use two (actually I need like 10) instances of the smartEditor widget?

Thanks in advance!

0 Kudos
0 Replies