Skip to content

Print file document from views output

Plugin ID: eca_entity_print_print_file_from_view

Available since: 1.0.0

Print file document from a chosen view output and saves it as a file entity.

Fields

View — config key: view_id

Select the view from the list. The view will always return a list of complete entities.

Type: select · Required: yes · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: The machine name of a view on the target site.

Display — config key: display_id

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

Type: textfield · Required: no · Default: default

Value format: The machine name of a display within the selected view, for example default or page_1.

Arguments — config key: arguments

Provide the Contextual filters of the view in order and one by line. This property supports tokens.

Type: textarea · Required: no · Default: empty string

Name of token — config key: token_name

Name of the token available after file document from view render is generated. Contains the file entity. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string

The exported file name — config key: file_name

Provide a name for the generated file.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Export type — config key: export_type

Type: select · Required: yes · Default: pdf

Allowed values: pdf, epub, word_docx