I have a hosted view layer on a webmap in which the hosted layer is being actively edited. I want the functionality to export a query using the query widget on the WebApp builder, but I would like to control the user option for what to export. Specifically, when I test it and export a CSV, it exports every field in the view layer, even though they are turned off and not visible on the layer before running the query. Is there a way to restrict the export to only include the fields that are visible in the view layer on which the query is based?
Similarly, is it possible to restrict the format so that the user can only export a CSV?