Hello I am going through the tutorial for a ListView widget and noting showing up.
It is probably the widget.js file mainly.
I have attached the file below and here is the link to the tutorial:
Create a ListView widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
I think you are missing 'dojo/query' in your define
Hello Laurynas,
Thanks.
I get this error now:
you should add your widget in samplewidgets folder:
WAB_2.14\client\stemapp\widgets\samplewidgets\Test
the add it to config to WAB_2.14\client\stemapp\sample-configs\config-demo.json file
{
"uri": "widgets/samplewidgets/Test/Widget",
"label": "Test",
"position": {
"left": 185,
"top": 45
}
}
then go to the: http://localhost:3344/webappviewer/?config=sample-configs/config-demo.json
and open developer console is Chrome to see errors:
Look like you did not paste all the code from the demo