<< Click to Display Table of Contents >> Navigation: Zetadocs Installation Guide > Zetadocs Server Installation > Zetadocs Server Configuration Options |
Zetadocs Capture Essentials comes with two Document Queues setup a standard, a Sales and a Purchase Document Queue, with other custom queues available with Zetadocs Capture Plus.
To configure the Zetadocs Server to communicate with the document queues, these first need to be configured.
Note: When outputting files into the Batchsplit folder, make sure these are not streamed into the folder as Zetadocs Server will pick the file before its complete and it might deplete the Zetadocs OCR Engine license count.
Each document queue requires a network folder. This folder is used to place captured documents for processing and conversion, and you must provide users with the relevant permissions to access this folder. For optimal use of the software, you should ensure that no process is locking or regularly accessing the files.
Note: Each folder name must be unique and must not start with the same work.
Permission |
Description |
---|---|
USERS |
Share permissions with a minimum of Change and Read Permissions. Full Permissions are recommended. |
SERVICE |
The Zetadocs Document Converter Service must have access to the queue folders. To do this, add FULL Permissions to the SYSTEM user (or as whatever network user the service is running). |
The Zetadocs Server settings are modified using a Config.xml file, this is located in the Zetadocs Server installation location.
This is usually C:\Program Files (x86)\Zetadocs Server\Document Converter.
You can open this file in a text editing program such as Notepad.exe.
The Config.xml file contains settings which govern how documents are captured and added to document queues. It consists of instructions for each document queue configured and more general options for capturing documents.
We will go through those options relevant to an Essentials install in the order they appear. Users can leave the default values unchanged for any options not described as Essentials.
Example
In the example below:
In this section, we will go through the document queue specific options identifying what the options do and providing suggestions for recommended defaults. Please go through each in turn to ensure your system is configured properly.
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<docsQueue>
<DocsQ Description="Sales Document Queue" Location="\\User specified queue location\Sales Document Queue\" OnlineFolderLocation="Sales Document Queue">
<EnableOcrForQueue>true</EnableOcrForQueue>
<EnablePDFTextExtractionToFile>false</EnablePDFTextExtractionToFile>
<BatchScanSplitType>Barcode</BatchScanSplitType>
<BatchScanPageInterval>1</BatchScanPageInterval>
<BatchScanBarcodePrefix></BatchScanBarcodePrefix>
<BatchScanBarcodeDeleteSplitPage>false</BatchScanBarcodeDeleteSplitPage>
<FilenamePrefix></FilenamePrefix>
</DocsQ>
<DocsQ Description="Purchase Document Queue" Location="\\User specified queue location\Purchase Document Queue\" OnlineFolderLocation="Purchase Document Queue">
<EnableOcrForQueue>true</EnableOcrForQueue>
<EnablePDFTextExtractionToFile>false</EnablePDFTextExtractionToFile>
<BatchScanSplitType>Off</BatchScanSplitType>
<BatchScanPageInterval>1</BatchScanPageInterval>
<BatchScanBarcodePrefix></BatchScanBarcodePrefix>
<BatchScanBarcodeDeleteSplitPage>false</BatchScanBarcodeDeleteSplitPage>
<FilenamePrefix></FilenamePrefix>
</DocsQ>
</docsQueue>
<PDFQuality>Better</PDFQuality>
<EnableOcr>true</EnableOcr>
<StellentTimeOut>10</StellentTimeOut>
<StellentBypassPDF>true</StellentBypassPDF>
<LogLevel>Error</LogLevel>
<LogToFile>true</LogToFile>
<LogToEventLog>false</LogToEventLog>
<EnableBarcodeDetection>true</EnableBarcodeDetection>
<EnableQrProcessing>false</EnableQrProcessing>
<GetBatchTimeForQueueing>10000</GetBatchTimeForQueueing>
<GetRootTimeForQueueing>10000</GetRootTimeForQueueing>
<OnlineArchivingEnabled>true</OnlineArchivingEnabled>
<OnlineArchiveLocation>https://examples.sharepoint.com/sites/yourcollection</OnlineArchiveLocation>
<UploadRetries>2</UploadRetries>
</Config>
The Zetadocs Server Config.xml file is Case Sensitive
WARNING: When setting the various options, please ensure that you copy the exact casing shown here. Failing to do so may prevent the server from working as intended.
Sample Code
<DocsQ Description="Sales Document Queue" Location="\\User specified queue location\Sales Document Queue\" OnlineFolderLocation="Sales Document Queue">
Options
Element |
Description |
---|---|
Description |
Enter the name of the queue, it is already set to the default value. |
Location |
Enter the Path to this queue. |
OnlineFolderLocation |
The folder name of the Document Queue in SharePoint, should match the Name field on the |
Enable OCR For Queue
<EnableOcrForQueue>true</EnableOcrForQueue>
Options
Option |
Description |
---|---|
true |
Causes the Zetadocs Server to attempt to use OCR on documents in the queue, activating this option will slow down the Zetadocs Server operation. |
false |
This option stops the Zetadocs Server using OCR for this queue. |
Sample Code:
<BatchScanSplitType>Off</BatchScanSplitType>
Options
Option |
Description |
---|---|
Off |
The default, the Zetadocs Server doesn’t process any batches present in the Batch Split folder of your document queue treating them as a single document. |
Barcode |
Note: This is not supported with Capture Essentials.
The Zetadocs Server splits the batches on every page that contains a barcode. |
BarcodeValue |
Note: This is not supported with Capture Essentials.
The Zetadocs Server splits the batches every time the barcode being read has a different value to the previous barcode read. |
PageInterval |
Zetadocs Server splits the batches using an interval defined by the BatchScanPageInterval parameter, e.g. every 3 pages see below for details. |
This value determines the page interval number to be used when processing a document using the PageInterval splitting method described above.
Sample Code
<BatchScanPageInterval>1</BatchScanPageInterval>
Options
Sample Code
<FilenamePrefix></FilenamePrefix>
Options
# % & * : < > ? / { | } ~ " '
The general capture options for the Zetadocs Server are located at the bottom of the config.xml and contain the options listed below. These are applied to all captured documents regardless of the document queue settings.
The quality of the PDFs the Zetadocs Server produces during conversion can be adjusted to meet your requirements of file size, quality and conversion speed.
Sample Code
<PDFQuality>Better</PDFQuality>
Options
Option |
Description |
---|---|
Better |
Use this option when PDF quality is important, e.g. when using OCR. |
Smaller |
Use this option when storage space is at a premium and high resolution is not required. |
Stellent is a component that helps with PDF conversion. This setting determines the duration Zetadocs will wait before assuming it has a problem and aborting the conversion.
Sample Code
<StellentTimeOut>10</StellentTimeOut>
Options
We recommend that this setting is left at its current default of 10.
This option causes the Zetadocs Server to bypass PDF files added to the conversion folder rather than convert them again. They are instead simply copied to the converted folder, which can result in the Server operating more quickly on a given batch of documents.
Note: The PDF files may not be in the specific PDF/A format generated by the Server.
Sample Code
<StellentBypassPDF>true</StellentBypassPDF>
Options
Option |
Description |
---|---|
true |
The recommended default as PDF files will no longer be converted which can increase the speed at which the Zetadocs Server can process a batch of documents. |
false |
Sends all documents for conversion including those already in PDF format. |
The logging level options can normally be left set to error, with the other options only used in troubleshooting and support cases.
Sample Code
<LogLevel>Error</LogLevel>
Options
Message type |
Description |
---|---|
Error |
Use this setting for general operation. |
Warning |
Use this for trouble shooting issues. |
Debug |
Should be used for a controlled period of time to trouble shoot issues. |
The Zetadocs Server log can be set to save to a file and/or the event log. This is done using the two options <LogToFile> and <LogToEventLog>. Using these options is is possible to set Zetadocs to log to either a file or the event log or neither.
The Zetadocs Server log file is written to:
C:\Users\pgreen\AppData\Local\Temp\Zetadocs\
Sample Code
<LogToFile>true</LogToFile>
<LogToEventLog>false</LogToEventLog>
The above code would result in the log being kept in Zetadocs Server log file.
Options
Each of the can be set to either true or false, we recommend that you have one or the other forms of logging active at all times.
Option |
Description |
---|---|
true |
Logs event at the level specified above to the log file or event log. |
false |
Stops the Zetadocs server logging events into the log file. |
This setting determines the duration (in milliseconds) Zetadocs will wait before assuming it has a problem and aborting the conversion, when converting files in the Batch Split folder
Sample Code
<GetBatchTimeForQueueing>10000</GetBatchTimeForQueueing>
Options
We recommend that this setting is left at its current default of 10000.
This setting determines the duration (in milliseconds) Zetadocs will wait before assuming it has a problem and aborting the conversion, when converting files in the document queue's root folder
Sample Code
<GetRootTimeForQueueing>10000</GetRootTimeForQueueing>
Options
We recommend that this setting is left at its current default of 10000.
This setting determines if the files will be uploaded to the specified SharePoint site.
Sample Code
<OnlineArchivingEnabled>true</OnlineArchivingEnabled>
Options
This setting must be set to true for Document Queues in the Cloud.
This setting determines the SharePoint site that the document queue files will be uploaded to.
Sample Code
<OnlineArchiveLocation>https://examples.sharepoint.com/sites/yourcollection</OnlineArchiveLocation>
Options
This should already have been entered after successfully running the Zetadocs Server Configuration Tool
This setting determines the number of retry attempts that will be made when uploading files to SharePoint, before moving on to other files.
Sample Code
<UploadRetries>2</UploadRetries>
Options
We recommend that this setting is left at its default value of 2.
Save the updated Config.xml file when you have finished making your changes. To implement the changes you have made, you need to start the Zetadocs Server.
To start the Zetadocs Server:
That completes the Document Queue Options for a single document queue, this process should be repeated for all subsequent queues before continuing on to the Zetadocs Document Queue Settings in Business Central.