AnsweredAssumed Answered

ArcGIS won't instantiate widgets sometimes

Question asked by tylerjones81 on Dec 2, 2015
Latest reply on Dec 15, 2015 by thejus.kambi

When creating and loading up my ArcGIS widgets using the ArcGis Javascript api, I am repeatedly receiving these errors:

 

dojo/parser::parse() error TypeError: Cannot read property 'toString' of undefined(…)

Uncaught Error: gis.dijit.Measurement: parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.

 

It seems that while trying to asynchronously load up all my widgets and dependencies..there is some sort of race condition that blows up the process and the widget simply won't work.

 

I have scoured the web to no avail and am now banging my head against the wall repeatedly. Any info or help on this would be greatly appreciated.

 

Regards,

 

Tyler

Outcomes