Document Type Parts (ttrpi2540s000)

Use this session to maintain the details for a document type part.

 

Document Type
The document type to which the part belongs.
Sequence
A (generated) unique number of the document part.
Destination Type
The destination type for which this document part is applicable.

Zulässige Werte

EmailThis part is only applicable for e-mail destinations.
FaxThis part is only applicable for fax destinations.
PrintThis part is only applicable for print destinations.
Infor Document ManagementThis part is only applicable for IDM destinations.
CustomThis part is only applicable for a custom destination. The custom destination type must be specified.
AllThis part is applicable for all destination types. If a part is applicable for multiple destination types, but not for all, you can still use this value and restrict the use of the part in the condition expression.

 

Custom Destination Type
The specific custom destination type for which this part applies.
Part Type
The part type of this document part.

Zulässige Werte

OverlayThis part is an overlay. The document will be overlaid with the PDF that must be uploaded to this part.
File to AttachThis part is an additional file that must be distributed with the document.
Document FilenameThis part determines the filename to be used for the document during distribution.
Existing Document(s)With this part you can add any file to the distribution. You can select the files from the internal DOM document store, from Infor Document Management, or implement your own library to retrieve files from anywhere.
Email SubjectThis part is the e-mail subject to be used for e-mail and fax distributions.
Email BodyThis part is the e-mail body to be used for e-mail and fax distributions.

 

Condition Expression
An expression to determine whether the document part is taken into account.
Content Present
Indicates whether a file has been attached to the document part.
Simple Content
This is the string (including document variable placeholders if needed) that is used for e-mail subject and document filename. For file based parts, this is the filename of the file.
Relative Position
The position relative to the document to be sent for the files that are attached.

Zulässige Werte

BeforeThe attached file is processed before the document, for example it is placed before the document in the list of attachments of an e-mail message.
AfterThe attached file is processed after the document, for example it is placed behind the document in the list of attachments of an e-mail message.

 

Order
If you have multiple attached files before or after the document, you can use this sequence number to specify their mutual order.
Separate File
If this check box is selected,, the attached file is kept separate. For example, it will be a separate attachment in an e-mail message. If this check box is cleared, the attached file is merged with the document. Note that merging only applies for documents and files that are both in PDF format.
Overlay Type
Indicates how the overlay is applied to the document.

Zulässige Werte

All PagesThe overlay is applied to all pages of the document.
First PageThe overlay is applied only to the first page of the document.
Last PageThe overlay is applied only to the last page of the document.
Odd PagesThe overlay is applied only to the odd pages of the document.
Even PagesThe overlay is applied only to the even pages of the document.
Specific PagesThe overlay is applied to the pages specified in the Overlay Pages field.

 

Overlay Pages
The pages to which the overlay is applied.

You can specify a comma separated string with the page numbers. Also ranges of pages are allowed. You can use the dom.pages variable. At runtime, this variable is replaced by the number of pages of the main document.

This table shows some examples:

ExampleDescription
1,4The overlay is applied to page 1 and page 4.
1-3,5The overlay is applied to page 1, page 2, page 3, and page 5.
2-(#dom.pages#-1)The overlay is applied from page 2 through the last but one page. For example, if the main document has 50 pages, the overlay is applied to pages 2 through 49.

 

 

Upload File
Opens a dialog to select a file. Stores the uploaded file as an attachment of the document type part. If the part already has a file attached, you are prompted to replace that file.

The command also parses the document for available variables, strings between ‘#’ signs, and stores the variables in the Document Type Part Variables (ttrpi241) table.

Download File
Downloads and opens the attachment data.
Delete file
Deletes the attachment file from the document type part.