A WebApp's config.json and recognizing a custom widget

314
0
01-10-2022 09:41 AM
JohnSasso
New Contributor II

I have been following the instructions in the Web AppBuilder API site on how to create and deploy a custom widget for a webapp, e.g.:

https://developers.arcgis.com/web-appbuilder/guide/deploy-custom-widget-and-theme.htm

The instructions say I have to modify the webapp's config.json file to include the custom widget, but nowhere on the API site is info provided as to how, ie., what has to be added?   

For example, on my desktop I created a custom widget called ListView, which I verified works on my desktop.  As per the API instructions, to deploy I simply copy the ListView directory from \client\stemapp\widgets to my webapp's widget directory, then modify the webapp's config.json.  

OK, what has to be added?   I've done Google searches on this and cannot find anything.  Thanks!

0 Kudos
0 Replies