Skip to content

Views: Export query into file

Available since: 1.0.0

Use a view to execute a query and save the results to a file. You can also save the results in a token.

Fields

Store results also in a token?

Check this box to save the results to a token as well

Token name for file name

Provide a token name where ECA will store the effectively used filename of the output. Please provide the token name only, without brackets.

File name

Sets the name of the file where the data will be exported. If left empty, the file name configured in the view will be used, or a random name otherwise.
This field supports tokens.

Name of token

Name of the token available after view execution. Contains an indexed list of elements that the view returns. Please provide the token name only, without brackets.

View

Select the view from the list. The view will always return a list of complete entities.
When using the "Defined by token" option, make sure there is a token with this name: eca_views_export_view_id

Display

Write the view display id to execute. Set as default to use the default view configuration.

Arguments

Provide the values for contextual filters in the same order as they are defined in the view. Separate multiple values with the / character.