Description

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

Usage

as element:
<media:excel
       conf="{string}"
       query="{object}"
       [fetch="{number|expression}"]
       [fields="{string}"]
       [header="{string}"]>
</media:excel>

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.
fields (optional)stringFields to output, comma-separated or ’*’ for all.
header (optional)stringReplace field names in the header with these header values. Must be a comma separated list of equal length to the fields parameter