For the Query widget you can define which fields, alias, special type and order of the results. I have had no luck making these changes work or stick.
For example if you change the alias, special type or order of the result item contents and click ok. None of the changes are saved.
Solved! Go to Solution.
Thank you, but despite redoing the query in the WAB Developer version and downloading an updated set of code, the config.json for the Query widget is still coming up with only:
{
"queries": []
}
I'm assuming it doesn't matter, but I thought I'd throw it out there that the layers/data source I'm using are map services from our ArcGIS Server. Could it be???
Sure did. Please see attached image.
Got it. Sorry. I missed that extra folder.
Thanks!
Malcolm
I have the same issue. I have a field that is a link, so I assume if I change the special type to link in the results setting it would return as a link in the query results. Nope, it just comes up as a text string. And, when I go back in to check the setting it's not saved. ??
MaryAnn,
Yep this is due to a bug in the widgets settings dialog. You will have to make a manual change in the json file if you are using WAB Developer version.
I’m using the AGOL version. Does this mean I would have to download the app and configure it myself manually? I may use another template if so.
If you are comfortable with editing json files, you can edit the AGOL json file using the ArcGIS Online Assistant (ArcGIS Online Assistant ).
Select I want to... View an item's json
Then pick your Web Application.
Scroll down to the Data section and click on the pencil and make your changes.