Embed Index Data
|
Embed Index Data
|
General Settings
More information on general workflow task settings can be found here:
Workflow Tasks
Convert document to:
The document file can be converted to either PDF or PDF/A-3b file formats.
Merge into one file
Click the checkbox to merge all the files in the workflow document into one single PDF file. Otherwise, only the first file of the workflow document will be converted to PDF.
Sign the Server Certificate
Selecting this option, the PDF file will be signed with the certificate configured in the “Server Certificate Name” Therefore setting.
Apply external timestamp
An external trusted timestamp server will be used when signing the PDF document. This timestamp server must be defined in the Therefore™ Solution Designer's advanced settings (under General/ Timestamp Server).
Profile:
This setting modifies the internal content of the generated PDF; it adds Factur-X or Zugferd specific “PDF metadata” (XMP) to the PDF file, as specified by the Factur-X or Zugferd standard.
|
Possible values for 'Profile':
|
Embedded XML name:
Specify the name for the XML file which will contain the index data. This name will be used within the PDF to denote the embedded XML file.
Load Template XML
Load the XML-template into the Index Data assignment table.
View Template XML
View and modify the XML-template in the Notepad application.
Script
An initialization script can be created, which will be executed before the execution of the field assignments. Also, variables and functions could be defined here that will be available for the assignment scripts.
Index Data:
Specify how the XML template will be filled with index data, that is, how the actual export-XML will be generated from the template. Scripts returning a certain value (typically: an index field value) can be created here and assigned to the “leaf” tags of the XML template. During export, these “leaf” tags will be filled with the assigned script result values.
|
When an assignment script returns an array of values, e.g. when the script returns table index field column values, then the assigned “leaf” tag will be repeated in the resulting XML, as many times as the element count in the array. Example:
Note:
|