Menu

DOWNLOAD FORM

http://dynamo.documill.com/schemas/taglib/form/download

Provides tags for listing downloadable files in a form.

addFileItem

Adds an item to the fileList that this tag is the child of.

Attributes

Name Required Type Description
value true EL

The resolved value of this attribute should be the file stream to be added into the fileList.

linkTitle false EL

The resolved value of this attribute is used as the text of this item's link in the fileList. If not defined, the item's name is used as the link text.

docPackPanel

A form component that presents download links for contents of a document package. Additionally, the component also allows generation of a PDF document that is all of the package's documents merged into one. PDF generation is available if PDF taglib is licensed. A download link may also be accompanied by a link to the document in the document package's repository (currently this can only be OneDrive).

Please note that at the moment document packages may only be created through the createOneDriveDocPack tag of the SharePoint File library, which may or may not be available for all users.

Child Tags

Attributes

Name Required Type Description
value false EL

This attribute should resolve into the document package whose contents are to be displayed.

title false EL

Defines a title, or a label, to be presented above this component.

style false EL

Defines CSS styles to added to the form with this component. Styles can affect parts of this component by targeting following style classes: ddp-table, ddp-actions-header, ddp-doc-name-header, ddp-actions, ddp-OneDrive-link, ddp-doc-name, ddp-download-name, ddp-export-PDF.

listManagement false boolean

Show buttons that allow changing the order of documents in the document package. This includes the ability to remove a document from the package.

upload false boolean

Show upload local documents -button.

uploadAllMode false boolean

#ATTRIBUTE_DESCRIPTION#

fileList

This form component presents a list of file stream variables as links that allow the file to be downloaded.

The list of file streams to be shown can be filled in two ways. One is to provide a collection with the value attribute, another is to use addFileItem tags. Both ways may be used simultaneously to fill the list. If the value attribute has no value and there are no addFileItem children, the list will show all file streams found in the context.

Child Tags

Attributes

Name Required Type Description
value false EL

This variable can be used to add several file streams to the list. The resolved value should be a collection of file streams.

title false EL

Defines a title, or a label, to be presented with the file list.

Comments

0 comments