projectdoc Toolbox

Specifies a doctype-specific pattern to match against the title property to derive the name property of a projectdoc document.

Tags
Identifier
projectdoc.doctype.(doctype).document.name-pattern
Data Type
Since
2.1

A doctype-specific pattern to apply to derive the name property value from the title property.

The pattern is only applied to a document, if that document does not provide a name property.

The name is calculated at page save time. Once a document has a new title, the name is calculated accordingly.

 

Note that space homepages and pages providing space properties cannot be nameless.

Example of Usage

Example for the Requirement Doctype

 
projectdoc.doctype.requirement.document.name-pattern: REQ-([0-9\-]+).*

If the title of a requirement document is specified as REQ-123-456 Sample Requirement, then the name would be 123-456.

Resources

Default Group Name Pattern
Specifies for the name pattern the default group to select.
Doctype Auto ID Pattern
Specifies the pattern for auto increments for a given doctype.
Doctype Document Name Pattern
Specifies a pattern to match against the title property to derive the name property of a projectdoc document.
Doctype Document Name Pattern Group
Specifies for the name pattern the doctype-specific group to select.
Nameless Documents
Feature to derive a document's name from its title.