Skip to main content
Skip table of contents

Default Value Macro (PRO)

The Default Value Macro allows the author of a template to have a default value assigned automatically to a placeholder. When doing so, the field for the respective placeholder in the Placeholder Replacement Dialog is prefilled with the value in the macro, but can, if you want to, still be modified.

The Default Value Macro has to be put where the Page Tree Creator is invoked to copy a page in order for it to have any effect. For example on the page with the PTC Button


Macro Parameters

Parameter

Description

Type

Default Value

Placeholder

Enter an existing placeholder (e.g. $$project_number$$)

Text-Input

empty

Hidden

If checked, then the macro body content won’t be shown on the page in view mode

Checkbox

false

Editable

If checked, the placeholder will still be editable in the replacement dialog. So it will be just a proposition

Checkbox

true


Macro Body

The default value will be placed inside the Macro Body. The value can be rich format.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.