I am trying to do a simple example about how to add a widget to all apps, I mean to make it available and selectable for all the existing and new apps.
I know that "general" widgets are here:
And this is my try:
1. I have copied from "C:\WebAppBuilderForArcGIS_2.1\client\stemapp\widgets\samplewidgets\" the folder "Demo" and rename it to "MyWidget".
2. I have modified the widget.js like this:
3. I have modified the file "config.json" that is in this path: C:\WebAppBuilderForArcGIS_2.1\client\stemapp
Do I need to do something else? Because I am not able to select this widget when I create a new app.