Required files

At a minimum, a Web AppBuilder for ArcGIS widget requires two files, a JavaScript file that defines it and a manifest file that describes it. However, for a more full-featured widget, there are multiple files that define it, including the HTML template, i18n support, styles, and so on.

To store your widget files, create a folder named Demo in the ~/client/stemapp/widgets folder for 2D widgets or in the stemapp3d/widgets folder for 3D widgets. Create the following set of folders and files in the folder:

Create files