AnsweredAssumed Answered

Custom widget - dialog window

Question asked by slaviesriaustralia-com-au-esridist Employee on Jul 24, 2020

Hello,

 

I've started learning how to create custom widgets in the new API version 4.16, and I got stuck while trying to display a dialog window.

 

The syntax is javascript 6 and dojo isn't loaded inside the widget, so I'm not sure if I should import dojo into the widget to make it work or is there a better/best-practice way I should follow.

 

The view is being passed to the widget as a parameter, so I do know I'm "disconnected" from the main window directly.

 

Any advice, reference or example would be much appreciated.

 

 

 

Thanks,

Shay.

Outcomes