Select to view content in your preferred language

Where does Web AppBuilder loads the dojox library

1218
3
03-03-2017 11:32 AM
JoseSanchez
Frequent Contributor

Hello everyone,

Where is the Dojo library loaded in WebApp Builder ?  I would like to check the following fiel  "dojox/form/uploader/_IFrame.js"  to check if the error is checked correctly.

I would like to see that version of dojox/form/uploader  I am running because I am getting always the error event even if I add an exit after PageLoad in my ".aspx" page:

Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load

 

 .....

Exit Sub

 

........

I want to check if this bug persists in the version I am running:

https://bugs.dojotoolkit.org/ticket/17116

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Jose,

   The dojo version is controlled by the JS API that WAB uses. WAB 2.3 use JS API 3.19 which use Dojo 1.11.2

What's new in Version 3.18 | Guide | ArcGIS API for JavaScript 3.19 

0 Kudos
JoseSanchez
Frequent Contributor

Hi Robert,

How an I check the code from this file:  dojox/form/uploader/_IFrame.js

it looks like there is an incorret variable name on line cheking for error so it returns always error even if there is no error.

#17116 (/dojox/form/uploader don´t call onError on IFRAME) – Dojo Toolkit 

Thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jose,


  Just try and load that file name using the path you have there with add the Esri JS API URL to the front. Then you can check the code. As far as I can tell the Esri JS API is using a version of dojo that has that bug fixed though.