Select to view content in your preferred language

Print Query Results

4328
12
Jump to solution
05-31-2016 06:25 AM
LianaSmith
Frequent Contributor

Is it possible to connect somehow query results and attribute table? I need to have an option to print query results or export them to CSV? I know it is possible to do it through attribute table. But query results are not selected in the attribute table

0 Kudos
12 Replies
ShitalDhakal__GISP
Frequent Contributor

Yes they are checked on !

0 Kudos
AdrianWelsh
MVP Honored Contributor

I am using WAB Developer edition 2.0

Also, take a look at this:

Attribute Table widget—Web AppBuilder for ArcGIS | ArcGIS

It says "Currently, layers from map services, feature services, and feature collections in the map are supported. The layers from map services and feature services require query capability to display in the table."

I know you said you enabled query control, but are your layers matching these appropriate ones?

If that doesn't work out, you could maybe mess with the json documents with this code:

Attribute Table—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers

0 Kudos
ShitalDhakal__GISP
Frequent Contributor

Interestingly there was an easy fix to this. All I had to do was enable 'Open Attribute Table' check box in my Layer List tool box

Thanks for your help Adrian.