Controls the default for a doctype.
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.
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">>>${date:yyyy-MM-dd} ${user:name}</property>
</metadata>
The following placeholders are supported as part of the value of this property.
Name | Description | Valid Values | Example |
---|
date | A reference to the date when creating the document. | A date pattern. | date:yyyy-MM-dd |
user | Resolves personal information of the user creating the document. | | user:name |