Skip to main content
Skip table of contents

Create Pages Button Macro

With the Create Pages Button macro, you can copy a page or a page tree with a single click. The Create Pages Button can be inserted on any regular Confluence page.


Macro Parameters

Parameter

Input Field Type

Description

Button Name

required

Text Field

Give your button a name, special characters and placeholders are allowed.

Source Page

required

Text Field / Dropdown

Specifies the root page of your template. This template is a normal confluence page. When the button is clicked, the root page and all its children are used as template for the new page tree.

Target Page

Dropdown

Defines where the new pages are added to.

If the field is empty the target page will be the child page of the page where the button is.

Top Page Labels

Text Field

Values entered here are attached only to the root page of the newly created page tree.

Permitted Groups

Test Field

Groups entered here are allowed to use the button. If no group is specified all users are allowed to use the button.

Fixed Target

Checkbox

If checked, uses the configured target and skips the selection screen.

Hide disabled Button

Checkbox

If checked, the button is hidden for users who haven't got permission to use the button.

Resolve Page Titles

Checkbox

If unchecked and using the button with same parameters for a second time, it would result in an error.

If checked, duplicated page title conflicts are avoided

Watch Pages

Dropdown

Select if only the main/source page, all pages or no pages should be watched after instantiation.

Edit Mode

Checkbox

If checked, you get redirected to the edit mode of the copied page after instantiation.

Page Selection

Checkbox

If checked, users see a list of all pages which are copied and can choose which pages they want to create.

JavaScript errors detected

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

If this problem persists, please contact our support.