Wednesday, January 13, 2016

add widgets to web app builder

How to add widgets into the builder or an app

To add widgets into the builder or an app, follow these steps:
  1. Open manifest.json file in the widget folder. It describes widget properties as shown in the following table.
  2. Modify the properties accordingly.
  3. Save the file.
  4. Copy the widget folder and paste it to the widgets repository. By default, the widgets repository is located under \client\stemapp\widgets folder. In this way, your widget is available to the builder.
  5. If you prefer to deploy the widget to a specific app only, you can copy the widget folder and paste it to the widgets folder within the downloaded app, then edit the app config file to include this widget to the app.


https://github.com/Esri/arcgis-webappbuilder-widgets-themes/blob/master/widgets/README.md

https://github.com/Esri/arcgis-webappbuilder-widgets-themes/blob/master/themes/README.md

How to add themes into Web AppBuilder

To add themes into the builder, follow these steps:
  1. Open manifest.json file in the theme folder.
  2. Modify the properties accordingly.
  3. Save the file.
  4. Copy the theme folder and paste it to the themes repository. By default, the theme repository is located under \client\stemapp\themes folder. In this way, your theme is available to the builder.

No comments: