Description

The media:csv tag allows you to export results into csv format.

Usage

as element:
<media:csv
       conf="{string}"
       query="{object}"
       [fetch="{number|expression}"]
       [batch-size="{number}"]
       [delimiter="{string}"]
       [fields="{string}"]>
</media:csv>

Directive info

  • This directive creates new scope.

Parameters

ParamTypeDetails
confstringThe platform configuration to use e.g. platforms.gsa.foo
queryobjectThe query to submit to the CSV service
fetch (optional)number]link:[expressionThe number of results or rows to fetch.
batch-size (optional)numberThe number of results or rows to fetch in each batch.
delimiter (optional)stringDelimiter to use in the CSV
fields (optional)stringFields to output, comma-separated or ’*’ for all.