When its folder is copied to client\stemapp\widgets the eSearch widget automatically appears in the Choose Widget widget pool dialog without having to add a reference in list.json or config.json. How does that happen? And why don't other widgets behave like that?
Andrew,
From what I remember the previous versions all listened for folder changes. You may need to start the node.js startup.bat file again to see some changes. There may be something helpful in this post How to "refresh" a widget's code while editing it
-Stan
The node.js that you are running in the background for web appbuilder is a listener that listens for changes in a folder.
What widgets are you having problems with?
Hi Stan,
I think that I was having problems with one of my widgets because I had an older version of WAB that didn't have a node.js that listened for folder changes. Does that make sense to you? Did the previous WAB not listen for folder changes?
The previous WAB version has bug when watching the widgets folder's change. And, the list.json under widgets folder is for WAB that is embedded in portal.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.