AnsweredAssumed Answered

Adding a new custom in-panel widget to all apps

Question asked by margaraiz on Oct 10, 2016
Latest reply on Oct 13, 2016 by margaraiz

Hi!

 

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.

 

Thanks!

Marga

Outcomes