Description
In Web AppBuilder for ArcGIS, attempts to export the query result from an attribute table using the Query widget (by clicking View in Attribute Table > Options > Export to all CSV) fail to download the CSV file without any warning or error message.
Solution or Workaround
As a workaround, export the query result directly, without viewing the result in the attribute table.
- In Web AppBuilder for ArcGIS, add and configure the Query widget .
- In the Configure Query window, click New query.
- Select a layer and click OK.
- Specify the query and settings in theĀ Info, Filters, and Results tabs.
- In the Options tab, check the Allow to export results check box. Click OK.
- In the map view, click the Query widget. The Query window opens.
- In the Tasks tab, select the layer to export.
- In the Results tab, click the Feature actions icon . Select the desired option to export the query result.
Once the desired export option is selected, the CSV file automatically downloads.
The following alternatives are also available using the Attribute Table widget, Select widget, or Analysis widget to export or extract a subset or the entire data from Web AppBuilder for ArcGIS:
Use the Attribute Table widget
This option is to export the entire or partial data from the attribute table.
- In Web AppBuilder for ArcGIS, add and configure the Attribute Table widget .
- In the Configure Attribute Table window, check the Allow exporting to CSV check box.
- Click OK.
- Expand the attribute table. Click Options > Export all to CSV to export the entire data. To export a subset of data, configure the Filter function before exporting.
Use the Select widget
This option is to export the selected features.
- In Web AppBuilder for ArcGIS, add and configure the Select widget .
- In the Configure Select window, check the Allow exporting selected features check box.
- Click OK.
- In the map view, click the Select widget. The Select window opens.
- Click the desired layer and manually draw on the map to select the desired data.
- Click the Show actions on selected feature(s) icon . Choose the desired export option.
Use the Analysis widget
This option is to export analysis results.
- In Web AppBuilder for ArcGIS, add and configure the Analysis widget .
- In the Configure Analysis window, select Extract Data.
- Click the Set tool details icon of the selected analysis and check the Allow to export results check box.
- Click OK.
- In the map view, click the Analysis widget. The Analysis window opens.
- Select the layer(s) to extract, and specify the export option. Click Run Analysis.