Part 2 - Adding a Create Survey link
Overview
To allow users to create surveys, we will make use of the Add Page macro to add a Create Survey link.
By the end of this section you will have something that looks like this:
Source code
The following source code is shared using Confluence Storage Format - the XHTML-based format that Confluence uses to store the content of pages, page templates, blueprints, blog posts and comments.
For more information on how to use this source code on your Confluence, read the following article - How do I use Recipes that use the Storage Format with the Confluence Source Editor?
Steps
On the draft page
create an Add Page macro
set the Name parameter to "
Survey %child-counter:next > number:000%
"set the Link Text parameter to "Create Survey"
set the Source parameter to the "Survey" template you created in Part 1
check the Live Template parameter
The Name parameter value of Survey %child-counter:next > number:000%
creates pages with a sequential number.