media:excel
tag to generate a link to export results to Excel.
media:csv
tag:
services/media/export/offline
in the configuration hierarchy:
compress
: Whether or not to compress the final CSV file into a ZIP archive.
temp-folder
: Folder in which to store exported files on the application server, whilst streaming results from the platform (and before they are moved to their final destination). This can either be an absolute file path or relative to the application server root. If omitted, OS-specific temporary file folders are used.
redirect-path
: Path to redirect user after export has been initiated.
folder
: Folder in which to store exported files on the application server. This can either be an absolute file path or relative to the application server root. The path can be written as an expression, with variables that are resolved for the user that is performing the export:
{{id}}
: The ID of the user.{{name}}
: The user name of the user (if different from the ID).{{domain}}
: The domain of the user.
For example, /var/data/export/{{domain}}/{{id}}/
.twigkit.media.export.ExportCompleted
event. You can write your own event handler like so:
AppkitModule
:
link-text="Export"
to change the title of the link, and add further <li>
elements with links in as required.