projectdoc Toolbox

Requests to transform replace placeholders in the referenced wizard form fields.

Tags
Identifier
projectdoc-replace-fields-request
Type
List of Strings
Value Range
List of input field names of a wizard's form.
Since
1.11

This property allows template authors to define a list of wizard input fields that may contain placeholders specified by the page author. These placeholders reference space properties.

The replacement is permanent. The current value of the space property is inserted at the instance of the document creation.

 

This is for replacing placeholders of the form ${placeholder name}.

Placeholders prefixed by an ampersand do not require special treatment and are always resolved in document names/titles and short descriptions (if the template references an appropriate content provider).

Example of Usage

To allow page authors to use placeholders that reference to space properties, use a hidden input field.

<input id="projectdoc-replace-fields-request"
       type="hidden"
       name="projectdoc-replace-fields-request"
       value="projectdoc_doctype_common_name, projectdoc_doctype_common_shortDescription">

Variable Names

 

Since version 6.0 all dots in variable names have been replaced by underscores.

Before 6.xSince 6.x
projectdoc.doctype.common.shortDescriptionprojectdoc_doctype_common_shortDescription

Note that references to resources (for instance labels) and identifiers for property names still use dots as delimiters.

Resources

Translate Placeholders in Short Description
The short description, stored in the blueprint context may contain placeholders that are translated to their final values.
Page Wizard Placeholder
The pages wizards provide placeholder to make page creation easier.