Data source

Top  Previous  Next

 

Job_DataSource_Header

 

Note: The following options are only available after selection of "Data source" for the "Conversion mode" entry in the "Basics" tab.

 

Basics_Balken

 

In the "Basics" section, you must use "Select database" to select the database and view which contains the documents that are to be the basis of your conversion. The number of documents can be further restricted with the search filters (see below).

 

As additional information, the ReplicID of the chosen database is stored.

 

You can optionally restrict below whether the entire content of the documents is always taken, or only individual fields. If the entry remains blank, the complete documents are converted. Multiple fields are separated from each other by ";".

 

Job_DataSource_Basics

 

DatabaseOptions_Balken

 

In this section you can use the option "Use ReplicID for opening the database" to specify whether the n2pdf Server Task should search for a replica of the database if the original database is not available.

 

The following option determines whether the Server Task should search for a replica of the database in the failover cluster, if the primary server cannot be addressed.

 

 

ContentOptions_Balken

 

The following options of the "Content options" section have a direct influence on the appearance of the PDF file.

 

ContentOptions_1

 

With this option you decide whether a page break should be inserted between each new document. For this to work, the option "Single PDF file" must be activated in the "Basics" tab.

 

ContentOptions_2

 

If you deactivate this option, only the file attachments of the documents are converted. In the "Attachments" tab you can decide which file attachments (e.g. from which fields) are taken.

 

ContentOptions_3

 

In addition to the contents of the selected documents (whole document or individual fields), you can add the contents of the "Body" field in the  Job Documentto the PDF file. There are three options for the positioning of the content:

 

Don´t use content

No processing

At the beginning

The content is placed at the beginning of the PDF file (e.g. as cover page)

At the end

The content is placed at the end of the PDF file

 

ContentOptions_4

 

This option subdivides an activated "Use job content" option. You can decide whether the content is placed before each new document (e.g. as a "header" in front of a document) or if it only appears once (e.g. for a cover page).

 

 

Search Filter_Balken

 

You can use the search filter to restrict the number of documents used. The search filter offers four different options:

 

None

No filtering of the documents in the selected view, i.e. all documents are taken

Documents

If this filter type is selected, you have the option to selectively choose individual documents manually. Only the chosen documents are converted.

View

With this filter you can define a filter for the first three columns of the view. Enter the values by which the view should be filtered (e.g. "Auto" or "1450"). Please note that the columns of the view must be sorted, and make sure you select the correct data types.

FullText

Only the documents that yielded a match in the "full-text search query" are selected and converted. With a further option you can also differentiate whether the search relates to the complete database or only to the current view.

 

 

Data modification_Balken

 

All documents that are included in the PDF creation (and possibly were reduced by the search filter) can be changed using a Notes formula (macro language). You can differentiate between two different formulas, one for successful PDF creation and one for errors. With these formulas, individual fields in a document can be set or deleted, for example.

 

DataModifications_1

Enter a formula to be executed when the PDF file was successfully created.

DataModifications_2

Enter here a formula to be executed when the PDF file was not successfully created.