Skip to main content
Skip table of contents

Template Macro

With the PTC Template macro you are able to easily create a new template for the PTC Create Pages from Templates dialog.

PTC Create Pages From Templates Button and Dialog | Image
image-20250814-103522.png

Create Pages from Templates Button in Navigation → Apps

image-20250814-105648.png

Create from Page Tree Creator Template dialog

Just insert the macro on the page and configure it according to your needs.


Macro Parameters

Template

Configure how the Template is displayed in the Create dialog and the instantiation property.

Parameter

Description

Default Value

Template Icon

Select an icon you want to have displayed for the template on the Create Pages from Templates dialog.

Our PTC Icon

Template Name

This name will be displayed in the Create Pages from Templates.

empty

Template Description

This description will be displayed in the Create Pages from Templates.

empty

Watch Pages

Select which pages should be watched after the instantiation.

MAIN: only the top page
ALL: all pages are watched
NONE: no page is watched

MAIN

Edit Mode

If checked, after the instantiation, the edit mode of the new root page is opened.

false

Show Page Selection

If checked, shows the page selection tree in the creation process.

false

Visibility

Configure the template how and in which spaces it will be available.

Parameter

Description

Default Value

Global Visibility (If Show in Creation Dialog is true)

If selected, the template will be shown on every space.

true

JavaScript errors detected

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

If this problem persists, please contact our support.