Versions Compared

Key

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

...

Section
show-titlefalse
titleDescription

Per default the homepage for documents of a given type is

the

the doctype homepage. This property allows to define

the

this standard to be different. This is usually useful to define a default page for doctypes that do not provide a homepage.


Section
titleDetails

This property is configured by the metadata section of the doctype model.

Code Block
  <metadata>
    <property key="projectdoc.doctype.common.is-a">record</property>
    <property key="projectdoc.doctype-metadata.homepage.default-location">&gt;&gt;${date:yyyy-MM-dd} ${user:name}</property>
  </metadata>

The following placeholders are supported as part of the value of this property.

NameDescriptionValid ValuesExample
dateA reference to the date when creating the document.A date pattern.date:yyyy-MM-dd
userResolves personal information of the user creating the document.
  • name
  • fullname
  • email
user:name


...