Host Reports in Web AppBuilder for ArcGIS

To configure a Web AppBuilder app to host , you use a . You add the widget to the app and configure it to run one or more . If you configure the widget to run multiple , the user is presented with a list of to choose from.

You can add the widget to an app more than once. This is useful if the hosted fall into different categories. You could add the widget twice, configure different titles and icons for each widget, and divide the between them.

Configure a Web AppBuilder App to Host Reports

This procedure assumes that you have already registered the custom widgets that allow you to host and run from Web AppBuilder apps.

To configure a Web AppBuilder app to host :

  1. In Web AppBuilder, configure the app that will host .

  2. Add the widget:

    1. Click Widget to open the Widget panel.

      Open the Widget panel

    2. Click Set the widgets in this controller.

    3. Click the icon to add widgets.

      Add widgets

    4. Select the widget and click OK.

      The Configure dialog box opens.

  3. Configure the widget:

    1. Change the widget's title if you want.

    2. Change the widget's icon if you want.

    3. Click Add , select a to host, and click OK.

      You can open the or its ArcGIS item from the Actions menu. Hover the pointer over the Actions column to show the menu and then click a tool:

      •   Edit the in .
      •    Open the item in your portal.
    4. In the Description box, type a description for the .

    5. Continue to add to the widget until you have added all the you want.

      You can remove from the widget: Click Delete in the Actions menu.

    6. If you added multiple to the widget, use the Move Up and Move Down tools in the Actions menu to configure the order that the appear to the end user.

    7. When you are satisfied with the configuration, click OK.

  4. Save the app.

Run the Report in a Web AppBuilder App

There are multiple methods of selecting features for which to run a report using the Geocortex Reporting widget. For example:

  1. Click a feature on the map.
  2. Make a selection on the map using the Select widget.
  3. Make a selection on the Attribute Table.

Option A: Click a feature on the map

  1. Click a feature on the map.
  2. In the feature pop-up that appears, click the ... button.
  3. In the drop-down menu, select Run Report.

  4. In the Reporting dialog that appears, select the report.

    The report is created using the feature you selected.

  5. When prompted, open the report.

Option B: Make a selection on the map using the Select widget

  1. To add the Select widget, open the Widget panel.
  2. Click Set the widgets in this controller, and then click the icon to add widgets. Select the Select widget and click OK.
  3. Select the selection tools you would like to use.
  4. Set the layer that is available to be selected and click OK.
  5. Click the Select widget and then click the Select button.
  6. Draw an area on the map to select multiple features.
  7. Select the ... button next to the layer that has the report configured.
  8. Select Run Report.
  9. In the Reporting dialog that appears, select the report.

    The report is created using the feature you selected.

  10. When prompted, open the report.

Option C: Make a selection using the Attribute Table

  1. Open the Layer List.
  2. Select the ... button next to the layer configured with the report.
  3. Select View in Attribute Table.
  4. Select one or more features in the table.
  5. Select the Reporting widget.
  6. In the Reporting dialog that appears, select the report.

    The report is created using the feature you selected.

  7. When prompted, open the report.