You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

projectdoc Toolbox

Requests to add the parent's title to the new documents title only if the parent's doctype matches the expected doctypes.

Tags
Identifier
adjust-title-on-parent-doctype-match
Type
boolean
Default Value
false
Since
2.5

This property allows template authors to control the title of a document dependent on the expected parent's doctype defined by the Parent Document Property.

Example of Usage

Add the following hidden input element to the template wizard's Soy.

<input id="adjust-title-on-parent-doctype-match
       type="hidden"
       name="adjust-title-on-parent-doctype-match"
       value="true">

Dependent on the Parent Doctype value of the Parent Property Macro the title will only have the title of the parent document appended, if the parent document matches any of the doctypes.

Resources

Parent Property Macro
Renders the property of the parent document, if it has the same doctype.
  • No labels