Skip To Content
ArcGIS Developer

Add help for your widget

Your custom widget can link to the help file in ArcGIS Web AppBuilder in the same way as out-of-the-box widgets. To prepare your help .html file appropriately, complete the following steps:

  1. Copy your widget folder to the widgets repository.

    By default, the widgets repository is located in the ~\client\stemapp\widgets folder.

  2. Copy your help .html file, for example, myWidget.html, to the ~\docs folder.
  3. Open the widgetHelp.json file under ~\client\builder, and add a new key/value pair to widget2d or widget3d under the dev property.

    In this case, key is your widget name in lowercase letters, and value is the name of your help .html file.

    Add key/value pair

  4. Start the node server, type http://[your hostname:3344]/webappbuilder/help/[your help file].html in the browser, and determine if you can access the help document for your widget.
  5. In Web AppBuilder, create an app and add your widget.
  6. Open the widget setting page, and click the Learn more about the widget link.

    Your help file appears.