Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
overridefalse


Short DescriptionSpecifies the pattern for auto increments for a given doctype.
Doctypepropertyhide
NameDoctype Auto ID Pattern
Short Name
Parent
Parent Property
propertyParent
property-nameName

Audience
Name List
doctyperole
propertyAudience
hide
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags

Tag List
namesname-pattern
propertyTags


Type
Name List
doctypeproperty-type
propertyType

Identifierprojectdoc.doctype.(doctype).auto-id-pattern
Component
Name List
doctypecomponent
propertyComponent

RequiredDatatype
Data TypeJSON, Stringstring
Short Datatype
Display Property
property-nameDatatype
hide
Default Value{}
Value Range

Implementation
Since2.6
Deprecated Since
Until
Iteration

Iteration
valueproduction

hide
Reference
Sort Keyhide


...

Section
show-titlefalse
titleDescription

This space property specifies a pattern to apply to generate identifiers for a given doctype. There can be at most one pattern per document type.

The property is part of the Auto Increment feature.


Section
titleIncrement Specification

The Increment Specification defines which number format should be applied to which document instance. For each doctype there may be one specification and in each of these specifications there may be specifications that take the doctype of the parent into account.

Code Block
languagetext
{
  "specs": [
      {
          "parentDoctypes": [],
          "parentProperty": "",
          "function": {
              "format": "",
              "increment": 1
          }
      }
  ]
}


NameDescription
specsList of doctypes increment specifications.
parentDoctypes

Comma-separated list of doctype IDs to specify for which parent document types the increment format should apply. If omitted, the format is applied to any parent doctype. Doctypes increment specifications without a doctype must be specified at the end of the list.

parentProperty

The name of the parent property to use as the prefix for the ID. This value is only used if the new document has no siblings.

functionThe increment function to create the new ID.
formatThe format specifies the number of digits of the number block.
increment

The increment for each new ID. The value must be an integer greater than zero.

To test a configuration there is a REST service at projectdoc-internal/1/increment/test that is available to logged in users.

...

Section
titleResources


Table Merger

Display Table
doctypeproperty
render-no-hits-as-blanktrue
render-modedefinition
where$<Tags>=[name-pattern]

Tour
render-as-definition-listtrue
replace-title-with-nametrue