add data widget wab 2.3

712
1
03-20-2017 07:42 AM
SPNIOrganization
Occasional Contributor

hi,

I made an app using WAB developer edition 2.3 and deployed it on my server.

the widget "AddData" is not working - it wont add any kind of data from a file.

there is no error message. it is just stuck.

When I open the console (in chrome) I see these errors:

Uncaught TypeError: Cannot set property 'innerHTML' of undefined
at Object.setNodeText (widgets/AddData/search/util.js?wab_dv=2.3:76)
at Object._setStatus (widgets/AddData/Widget.js?wab_dv=2.3:351)
at Object._setStatus (widgets/AddData/search/AddFromFilePane.js?wab_dv=2.3:445)
at Object._execute (widgets/AddData/search/AddFromFilePane.js?wab_dv=2.3:282)
at HTMLInputElement.<anonymous> (widgets/AddData/search/AddFromFilePane.js?wab_dv=2.3:114)

help anyone?

Dikla.

Tags (2)
0 Kudos
1 Reply
StahlyEngineering
New Contributor III

This most likely has to do with a discrepancy between the widget.js line passing something into innerHTML where and the <div> expecting an input from the script.

You either changed name of the object being passed (should be of the form this.stuff.innerHTML, and <div data-dojo-attach-point="stuff">). Or the operation that creates the object 'stuff' is broken

0 Kudos