PDF Crawler and Engine configuration
Dette indhold er ikke tilgængeligt i dit sprog endnu.
About WorkZone PDF Crawler and Engine
Section titled “About WorkZone PDF Crawler and Engine”The WorkZone PDF module is used to convert existing documents to PDF documents. The WorkZone PDF module consists of two sub-modules:
- WorkZone PDF Engine: A stateless web service that performs real-time conversions of files to PDF documents.
- WorkZone PDF Crawler: Used for deferred, asynchronous conversions of selected documents, either manually or with policies.
If an organization uses WorkZone PDF with policies, WorkZone PDF Crawler searches for documents that have not been converted, and match one of the policies that have been defined. When a document that matches a policy is found, it is converted and then saved back to the WorkZone Content Server as a PDF document.
For more detailed information, see WorkZone PDF Administrator Guide.
Configure WorkZone PDF
Section titled “Configure WorkZone PDF”- On the start page, click PDF.
- Select the Engine configuration or Crawler configuration tab depending on your needs.
- Apply your changes.
Engine and crawler configuration parameters
Section titled “Engine and crawler configuration parameters”| Field | Description | Notes |
|---|---|---|
| Conversion | ||
| Bypass page bounds verification for files | Specify which file types are to be bypassed when boundaries of objects in the files are checked during PDF conversion. The default file extension is PDF, which means that the check for out-of-bounds objects in PDF documents will be bypassed. | |
| Convert documents with their attachments | Enables conversion of document attachments together with the original document. | |
| Suppress content that exceeds page bounds | If disabled, the document is converted even if the content exceeds the bounds of a document. If enabled, the content fails to convert. Note: Documents with the states UL (Locked), ARK (Archived), and AFS (Closed) will not be checked for content that is out of bounds, even if the setting is enabled. Documents with these states are locked in their final state and disregard content that exceeds the page bounds. | |
| Use WorkZone document title | Enable to use the WorkZone title instead of the document title property. The setting applies to all supported file formats that have title properties. This is the default setting. | Example: If a Word document contains a title in its metadata, that title will be overwritten by the WorkZone title when the document is converted to PDF. |
| Cancel conversion if fonts are missing | Applicable only to PDF/A output (and PDF/UA in some cases). Cancels the conversion if any part of the content uses unavailable fonts. If disabled, substitute fonts will be used to complete the PDF conversion.Controls what happens when fonts are unavailable during the conversion. If enabled, the conversion is canceled if any part of the content uses missing fonts. If disabled, the conversion continues using substitute fonts. See Supported fonts and Supported file types. | |
| Skip password protected documents | Enable to prevent password-protected documents from causing the conversion to fail. When enabled, password-protected embedded documents are skipped, and the conversion continues with the remaining content. For example, if an email contains a password-protected document as an attachment, the attachment is ignored while the email and any other attachments are converted. When disabled, the conversion fails when it encounters a protected embedded document. Important: When this setting is enabled, documents that fail to convert may be excluded from generated output, such as reports. User will not be notified if password-protected documents are skipped. | |
| Continue on failure | Enable to prevent individual conversion failures from stopping the entire conversion process. When enabled, documents that fail to convert are skipped, and the conversion continues with the remaining documents. When disabled, the conversion stops when it encounters a document that cannot be converted. Important: When this setting is enabled, documents that fail to convert may be excluded from generated output, such as reports. User will not be notified if documents are skipped. | |
| For PDF documents | ||
| PDF forms: • Flatten • Show | Select whether to include PDF forms as regular content or to show as review edits, when converting PDF documents. Flatten: PDF forms will be included in the final document as regular content (text and images). Show: PDF forms will be shown in the final document as review edits (and will remain editable). | |
| Annotations: • Flatten • Show • Hide | Select whether to include annotations as regular content, show as edits, or hide completely, when converting PDF documents. Flatten: Annotations will be included to the final document as regular content (text and images). Show: Annotations will be shown in the final document as review edits. Hide: Annotations will be hidden (excluded) from the final document. | |
| For Word documents | ||
| Show comments | Enable the option to show comments when converting Word documents | |
| Use document culture for date format fields | • Enable the option to apply the culture setting for each page in the document to all date format fields on that page when generating a PDF rendition of the document. • If a document contains multiple culture settings, the generated PDF document will use the date formats of the the culture setting for each page. | If the Use document culture for date format fields setting is disabled, the culture of the first page in the document will be applied to all date format fields in the document when generating a PDF rendition of the document. A document with multiple culture settings will generate a PDF document with the same date format for all pages. The Use document culture for date format fields setting is disabled by default. |
| Revisions: • Accept • Show • Reject | Select whether to accept, show or reject existing revisions, when converting Word documents | |
| For Excel documents | ||
| Show comments | Enable to show comments when converting Excel documents | |
| Revisions: • Accept • Show • Reject | Select whether to accept, show or reject existing revisions, when converting Excel documents | |
| For PowerPoint documents | ||
| Show annotations | Enable to show annotations when converting PowerPoint documents | |
| Show notes | Enable to show notes when converting PowerPoint documents | |
| Content settings | ||
| Header | Define the content of the header. You can specify the header content as normal text or use the following Microsoft field codes: {Title}: The document title. {Date}: The current date based on defined culture settings. {Page}: The current page number in the document. {NumPages}: The total amount of pages in the document. | Custom header text example:OpenField code header example: |
| Header styles | Define the default style of the header that will be used if the style is not specified in the request. This parameter must be in JSON format. You can specify the formatting of the header, for example, bold, italic, as well as which font to use. All parameters are optional. | Example of a header in bold using Arial as font: |
| Watermark | Specify the text to print as a watermark on each page. | |
| Watermark styles | Define the default style of the watermark. This parameter must be in JSON format. You can specify color, transparency, and font. All parameters are optional. You specify them as follows: Color: Any valid html string format such as standard color name (e.g. red), hex value (e.g. #FF0000), and RGB colors (e.g. 255,0,0). Transparency: Transparency ranges from 0 to 100 where 100 represents full opacity. Font: A font name. Note: You do not need to specify font size. The watermark will be sized to fit the page automatically. | Example of a watermark with red as the font color, medium transparency, and using Verdana as the font: |
| Footer | Define the content of the footer. You can specify the footer content as normal text or use the following Microsoft field codes: {Title}: The document title. {Date}: The current date based on defined culture settings. {Page}: The current page number in the document. {NumPages}: The total amount of pages in the document. | Custom footer text example:Field code footer example: |
| Footer styles | Define the default style of the footer that will be used if the style is not specified in the request. This parameter must be in JSON format. You can specify the formatting of the footer, for example bold, italic, as well as which font to use. All parameters are optional. | Example of a footer in bold using Arial as font: |
| Output settings | ||
| PDF format: • PDF/A (Archival) • PDF/UA (Universal Accessibility, supports PDF and Word files only) | Select the default PDF format that will be used: • PDF: Standard PDF format for generic usage. For the best performance, we recommend using PDF as the default format. • PDF/A: A PDF format that is used for long-term storage. • PDF/UA: A PDF format that ensures accessibility for people with disabilities who use assistive technology to navigate and read electronic content. See Working with PDF/UA documents for more information. Note: - In case of failed PDF/UA rendition, the document will be reverted to standard PDF version. • For PDF reports, if PDF/UA validation fails for some of the merged documents or the summary part of the report, the report will be saved as a standard PDF file (without the "UA" badge on the document icon). See PDF/UA validation for PDF reports for more information. | |
| Compress PDF output | Enable to reduce a size of the PDF output. This parameter is particularly important as large documents may take a long time to download from a server. | |
| Optimize PDF output for the web | Enable to optimize the PDF output for the web. This parameter is particularly important as regards large documents that may take a long time to download from a server. |
Crawler-specific parameters
Section titled “Crawler-specific parameters”The parameters below are specific to the configuration of WorkZone PDF Crawler. You can use the parameters to optimize the performance of the Crawler service. The suggested settings should be adjusted to your organization’s needs in terms of worker count and document processing interval.
| Field | Description | Notes |
|---|---|---|
| Document processing retries | Specifies how many times WorkZone PDF Crawler tries to convert a document. The parameter is used when the document conversion exceeds the document processing time-out, or when you have installed multiple instances of WorkZone PDF Crawler and two crawlers try to convert the same document at the same time. In this case, WorkZone PDF Crawler may pause and then try to convert the document again. | The default value is 3. |
| Document processing timeout | Specifies a time-out for conversion. When time-out is exceeded, an error message is written to the DVS_RENDER_MESSAGE table. | Default time-out: 5 minutes. |
| Maximum batch size | Specify the maximum number of documents that will be fetched for processing in each iteration. Enter a number in the of range 1-100. | Default number: 50 |
| Document processing interval | Specify a time interval between each iteration. Enter a time between 00:00:01-23:59:59. | Default time interval: 00:00:30. |
| Worker thread count | Specify how many worker threads should run simultaneously. This parameter configures the service to start the specified number of high priority threads and the same number of background threads. Enter a number in the range of 1-256. | Default threads: 2. |
| Maximum memory threshold (MB) | Specify the maximum expected memory usage, in megabytes. Values below 2048 MB are treated as 2048 MB. When the threshold is exceeded, the Crawler service pauses starting new documents and performs additional memory cleanup. Work in progress continues, and new work resumes once the memory usage falls to or below the threshold. | Default memory usage: 8192. |
| Process newest first | Controls the order in which documents are processed. When enabled, the newest documents are processed first. When disabled, processing starts with the oldest documents. | |
| Retry failed documents on upgrade | Controls whether failed documents from before the current PDF Crawler installation are retried. When enabled, documents that failed before the current installation are reprocessed. When disabled, failed documents are not retried. This is the default behavior. | |
| Enable PDF/UA post validation | Controls whether PDF Crawler performs PDF/UA validation. When enabled, documents that pass validation are marked as PDF/UA, even if the PDF/UA fomat is not selected. When disabled, no PDF/UA validation is performed. This is the default behavior. |
Performance optimization
Section titled “Performance optimization”PDF Crawler instances
Section titled “PDF Crawler instances”We recommend that you only use one WorkZone PDF Crawler instance.
Parameter settings
Section titled “Parameter settings”You can use the Worker thread count, Document processing interval, and Maximum batch size parameters to enhance the performance of the WorkZone PDF Crawler service. If your organization processes a high volume of documents daily, such as 40000 documents, we recommend the following setup:
-
Document processing interval, and Maximum batch size: The parameters define how many documents are selected for processing by WorkZone PDF Crawler during the day. If you use the default values, WorkZone PDF Crawler can process up to 50000 documents during an 8 hour working day. If you need to handle a different number of documents, you can set the parameters according to this formula:
Maximum batch size=Expected number of documents/(Working hours*3600/Document processing interval(in sec))
Examples:
If you want to process 48000 documents in an 8 hour working day, you can set the Document processing interval parameter to 30 seconds and the RecordLimit parameter to 48000/(8*3600/30)=50. Set the Maximum batch size parameter to 50.
If you want to process 24000 documents in an 8 hour working day, you can set the Document processing interval parameter to 30 seconds and RecordLimit parameter to 24000/(8*3600/30)=26. Set the Maximum batch size parameter to 25.
You may also change the Document processing interval parameter to 15 seconds, and set the Maximum batch size parameter to 25. This way, WorkZone PDF Crawler can also process 48000 documents in an 8 hour working day, but it fetches new documents from WorkZone Content Server more often. Be aware that setting the Document processing interval parameter to a lower value may cause more load on WorkZone Content Server.
-
Worker thread count: Set it to 2 or less than half of the logical processors on the machine, minimum 1. If the document processing speed is not fast enough, and the CPU and memory on the server where WorkZone PDF Crawler is installed are not fully used, you can increase the Worker thread count parameter slightly.

