Export to CSV function is not working in the Attribute Table widget when the table is the result of a query from the Query Widget. I tested this in ArcGIS Online.
Here is what I did:
- Add Query widget in your web application using WAB.
- Show the Query result in Attribute table (assume it is allow to be displayed in Attribute Table )
- In the Attribute Table , Select the option of Export All to CSV (assume the allow exporting to CSV is checked for Attribute Table)
- Click OK on the Export to CSV dialogue box, and nothing happens and in the browser console, you see errors.
Is it a bug for the Attribute Table widget?
Note: I've posted this in Web AppBuilder Custom Widget space as well, because this happens in both the built-in WAB and WAB Developer Edition, to better understand the cause you need to understand the code which the Custom Widget space deals with. It's hard to decide which space it belongs, it would be good if we can select more than one places when asking a question.