list view custom widget
Create a ListView widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
has a bug in the code. I think the problem is at step 8 and 9. since layerInfosObj is undefined. and there is a problem in settings. Would you please provide me with the final working code?
Thank you very much.
Hi,
Thanks for finding out the issues. There are a couple places in the online tutorial that either have errors or missing information, which will be corrected soon.
I uploaded the correct sample code for this widget on GeoNet:
https://community.esri.com/servlet/JiveServlet/download/10442-1-182818/ListView.zip
Hope this still helps.
Yiwei
Yiwei,
I used the zipped folder you provided in your last message and placed the ListView widget inside the stemapp/widget folder. I created a new WAB dev edition locally and tested the widget settings, but it still does not show any field in the thumbnail and title sections. I am using the feature layer mentioned in the tutorial, but it does not populate those two fields still.