AnsweredAssumed Answered

Some questions about custom widgets.

Question asked by endlessdsire on Sep 22, 2016
Latest reply on Sep 23, 2016 by rscheitlin

Hello.

Im trying to developing a custom widget for my WAB APP and im following the steps in this website Naming conventions—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers 

 

1.- I understood that each widget has some files that has to be in there , like:

html file

css file

js.file 

 

and in the app.config when i want to add the custom widget or anyone that i want, i have to put this:

{ "label": "demo", "uri": "widgets/Demo/Widget" } in the widgetPool->widgets.

 

Idk if im kinda lost or im doing something wrong, but when i zip my app to upload it to the WAB to see if i can see my demo widget, i have the error with it.

 

So i dont understand whats is my problem.

 

2.- Also i wanna know if i can integrate React to handle some controls and state of them and if there is any example with it.

Or changing the code to ES6.

 

 

Thanks so much in advice!

Outcomes