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...
just in case, see all my widget files attached.
Solved! Go to Solution.
Alex,
No where in your tableWidget.js or your empty tableWidgetTemplate.html does the infoLabel var exist... Normally in the tableWidgetTemplate.html html code there would be a div or some other html element that would have a data-dojo-attach-point="infoLabel" property on it.
Alex,
No where in your tableWidget.js or your empty tableWidgetTemplate.html does the infoLabel var exist... Normally in the tableWidgetTemplate.html html code there would be a div or some other html element that would have a data-dojo-attach-point="infoLabel" property on it.
I knew there was some stupid error on my end. Thank you!