projectdoc Toolbox

Controls the default for a doctype.

Since
4.4

Per default the homepage for documents of a given type is the doctype homepage. This property allows to define this standard to be different. This is usually useful to define a default page for doctypes that do not provide a homepage.

Details

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

  <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