Tips and tricks for extending
Web AppBuilder for ArcGIS
Erwin Soekianto - SDK Support
Chen Li - SDK Support
Overview
Web AppBuilder for ArcGIS is built with ArcGIS API for JavaScript and Dojo. It allows you to customize and extend functionalities by creating your own widgets and themes.
Widgets
Two types of widgets are supported: an off-panel widget (such as Scalebar widget) and an in-panel widget (such as Query widget).
Demo Time!
Create a custom in-panel widget
Review
- config.json
Add widget json object into the Widget Pool.
- manifest.json
Change name preperty to match the widget folder name.
- string.js
Change the widget label.
- widget.html
Add the interface html elements.
- widget.js
Add the script code.