Page Linkers for Confluence
Breadcrumbs

How to add a new page in Pagelinks List Macro


This feature is only available from version 1.2.0 onwards.


Overview


The Pagelinks List Macro now allows users to create a new page from the macro and automatically links the pages together.


Usage


Configuring the macro parameters

edit pagelinks list macro.png

Parameters

Description

Default Value

Link Type

The name of the Link Type

The first link type added

Page Type

The type of page to be displayed as a list

The source & target link type name will be available for selected based on the selected Link Type

Show Create New Link Button

To show the Create New Link button

There are three option for this field,

  • Default: the create button would only be displayed if there are no existing page links

  • Always show: the create button would always be displayed

  • Always hide: the create button will always be hidden

Default

Button Text

The name of the Show Create New Link Button

Blank

Space Key

The space key for the new page to be created in

  • If the Space Key is left blank, the new pages would be created in the current space

Blank

Page Title

The title of the new page created.

Use the following shortcuts to have the variables inserted into the page title,

  • @currentDate to specify the current date

  • @spaceName to specify the name of the space the newly created page will be in

  • @spaceKey to specify the name of the space key the newly created page will be in

If the page title is left blank, the default page title would be set to New page created on @currentDate

Blank

Template Name

The template used to create the new space

  • The template selection will only be based on User Created Templates

Blank Page



Example


When Show Create New Link Button is set to Default

When the macro is added, the button to create a new page button will be displayed.

pagelinks list macro create button default.png

When the button is clicked, the button will be hidden and a new page will be created linking to the current page.

pagelinks list macro create button default page created.png