AnsweredAssumed Answered

TypeError when adding sample custom widget (TableWidget)

Question asked by alexanderkoval_zadv on Mar 3, 2016
Latest reply on Mar 4, 2016 by alexanderkoval_zadv

hi, all! After adding my first custom widget to the View (the TableWidget from the tutorial) I got  this error.

 

TypeError {} "TypeError: Cannot set property 'innerHTML' of undefined
    at declare.updateDataSourceInfoLabel (http://localhost:5001/extensions/tableWidget/TableWidget.js:83:32)
    at null.<anonymous> (http://localhost:5001/extensions/tableWidget/TableWidget.js:67:14)
    at k (http://js.arcgis.com/3.15/init.js:189:431)
    at q (http://js.arcgis.com/3.15/init.js:189:357)
    at resolve (http://js.arcgis.com/3.15/init.js:191:441)
    at a (http://js.arcgis.com/3.15/init.js:190:311)
    at k (http://js.arcgis.com/3.15/init.js:190:70)
    at q (http://js.arcgis.com/3.15/init.js:189:357)
    at resolve (http://js.arcgis.com/3.15/init.js:191:441)
    at a (http://js.arcgis.com/3.15/init.js:190:311)
    ----------------------------------------

 

I followed steps from https://developers.arcgis.com/javascript/jshelp/operations-dashboard-extensibility-create-ext-widget.html

just in case, see all my widget files attached.

Attachments

Outcomes