Hi,
I recently downloaded the developer edition of the ESRI Web AppBuilder here and I am trying to build a new widget using the sample here.
I can get through the first three steps but on Step 4 it tells me to "Open the config-demo.json file in the stemapp/sample-configs folder. Find widgetPool->widgets, and add a new widget element like this. Save the file."
These files don't exist in my download, I don't have any file named config-demo.json, and I don't have a sample-configs demo folder.
Am I looking at the wrong thing or am I supposed to create these folders?
Solved! Go to Solution.
Hey Brian,
Just copy your "Demo" widget folder to client/stemapp/widgets folder.
Then go to client/stemapp and open the config.json file and at the end where it says "widgets": [{
add the following to the list:
"label": "Demo",
"uri": "widgets/Demo/Widget"
Now the demo widget should show up when you create a new app.
Tim
Hey Brian,
Just copy your "Demo" widget folder to client/stemapp/widgets folder.
Then go to client/stemapp and open the config.json file and at the end where it says "widgets": [{
add the following to the list:
"label": "Demo",
"uri": "widgets/Demo/Widget"
Now the demo widget should show up when you create a new app.
Tim
Hey Tim,
Thanks for your help! That made it work!