Parts (ttrpi2540m000)

Use this session to maintain the parts for a document type. The defined parts will construct the document distribution.

Double-click a record to start the Document Type Parts (ttrpi2540s000) details session.

Document Type

The document type to which the part belongs.

Sequence

A (generated) unique number of the document part.

Description

The description of the document part.

Destination Type

The destination type for which this document part is applicable.

Allowed values

Email This part is only applicable for e-mail destinations.
Fax This part is only applicable for fax destinations.
Print This part is only applicable for print destinations.
Document Management System This part is only applicable for IDM destinations.
Custom This part is only applicable for a custom destination. The custom destination type must be specified.
All This 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.

Condition Expression

Starts the Text Manager to edit the condition expression.

Part Type

The part type of this document part.

Allowed values

Overlay This part is an overlay. The document will be overlaid with the PDF that must be uploaded to this part.
File to Attach This part is an additional file that must be distributed with the document.
Document Filename This 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 Subject This part is the e-mail subject to be used for e-mail and fax distributions.
Email Body This part is the e-mail body to be used for e-mail and fax distributions.
Content Present

This check box is selected when the content for the part is present. This can be simple content (just one string) or an uploaded file

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.

Allowed values

Before The 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.
After The 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.

Allowed values

First Page

The overlay is applied only to the first page of the document.

Intermediate Pages

The overlay is applied to all pages of the document, except the first and last pages.

Last Page

The overlay is applied only to the last page of the document.

Odd Pages

The overlay is applied only to the odd pages of the document.

Even Pages

The overlay is applied only to the even pages of the document.

Specific Pages

The overlay is applied to the pages specified in the Overlay Pages field.

All Pages

The overlay is applied to all pages of the document.

Single Page Document

The overlay is applied only if the result document contains a single page.

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:

Example Description
1,4 The overlay is applied to page 1 and page 4.
1-3,5 The 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.