Skip to main content
Skip table of contents

Main index file

An index file can optionally be created when archiving documents. The structure of these index files can be customized.

The “main index file” forms a kind of “border” for all generated index files and is used by all document types.

By default, this main index file only contains the placeholder “%docTypeIndexFile%.” The generated index files therefore only contain the index information stored in the document type.

Optionally, it can be made possible for fixed information to be stored before or after the placeholder with the content of the document type-specific content (see example below).

Theoretically, the placeholder can also be completely deleted from the content of the main index file so that only the information stored in the main index file is saved as an index file.

The advantage of the main index file is that generally valid information for all archiving processes can be configured and changed centrally without having to change all document types.

Example:

The following example shows an example structure in which the information from the index file of the document type (%docTypeIndexFile%) is inserted into the main index file.

Content of the configuration of the main index file:

XML
<?xml version =“1.0“ encoding=“utf-8“?>
<content>
<archiveDate>%dateShort%</archiveDate>
<target>MyArchive</target>
<information>%docTypeIndexFile%</information>
</content>


Content of the index file of the document type (%docTypeIndexFile%):

XML
<name>%var1%</name>
<date>%dateFileName%</date>
<number>%var2%</number>


Content of the final index file after archiving:

XML
<?xml version =“1.0“ encoding=“utf-8“?>
<content>
<target>signotecArchive</target>
<information>
<name>John Doe</name>
<date>04.02.2019</date>
<number>1896</number>
</information>
</content>

The placeholder %docTypeIndexFile% has been replaced by the information stored in the index file of the document type, so that a combined index file is created from the main index file and the settings of the document type.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.