Previous icon

Next icon

Pattern configuration setting

Keys

Key

Description

1

Service

2

DocMan

3

Filename

4

Pattern

Description

The Pattern configuration setting maintains the regular expression used by the DocMan service to parse information from the document's file name. The configuration string contains several key patterns.

Patterns

Pattern

Description

^

Indicates the start of the filename. Must go at the start of the configuration string.

$

Indicates the end of the filename. Must go at the end of the configuration string.

!

Delimiter character used to separate the ID, description, source code and source reference. You can use a different character if you want, but the delimiter character cannot be:

  • a character that can occur in any of the ID, description, source code or source reference
  • any of the following characters:
    • ^
    • $
    • *
    • ,
    • .
    • (
    • )
    • [
    • ]
    • {
    • }
    • /
    • \
    • <
    • >
    • ?
    • |
    • +.

      Note: We recommend that you use either the exclamation sign (!) or the hash (#).

(?<ID>\d+)

Synergetic ID field.

(?<SourceRef>.*)

Source reference field.

(?<Description>.*)

Description field.

(?<SourceCode>.*)

Source code field.

You can put the four field patterns in any order you want, but the configuration string must:

All documents you want to automatically upload with the DocMan service must follow this pattern. Documents that do not follow the filename pattern are rejected during upload.

Default value

The default value is ^(?<ID>\d+)!(?<SourceRef>.*)!(?<Description>.*)!(?<SourceCode>.*)$.

This means the filename comprises of the:

For example, the filename 164!Age!GroupPhotoOfChoir!Newspaper.jpg conforms to this pattern.

Setting a different value

Set the Value field on the Configuration File Maintenance window. See Maintaining configuration files.

Configuration File Maintenance - Pattern configuration setting

Last modified: 4/10/2012 11:57:10 AM

See Also

Configuring the DocMan service in Synergetic

luDocumentClassification lookup table

luDocumentSourceCode lookup table

luDocumentType lookup table

Document:Classification configuration setting

© 2013 Synergetic Management Systems. Published 15 October 2013.

Top of page