Zum Hauptinhalt springen

FileCoverTemplateOptions

Properties​

includedFields?​

optional includedFields: string[]

If provided, only these fields will be included in file cover.


excludedFields?​

optional excludedFields: string[]

If provided, these fields will be ignored and are not visible on file cover.


multiTableFields?​

optional multiTableFields: object[]

Provide optional fields that store multiTable data as json array.

{
fieldName: "jsonField",
columns: ["de:Id;en:Id", "de:Lieferant;en:Vendor"]
}

fieldName​

fieldName: string

The fieldname that contains the DATA of the multiTable. This is NOT a Gadget field!

fieldName: "jsonField"

columns​

columns: string[]

Provide columns header

columns: ["de:Id;en:Id", "de:Lieferant;en:Vendor"]

asPdf?​

optional asPdf: boolean

Render template for Pdf

Default​

true

showPageFooter?​

optional showPageFooter: boolean

Renders a page footer

Default​

true