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:
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:
- Create an Add Page macro.
- Edit the Add Page macro and set the Name parameter to "
Survey %child-counter:next > number:000%"
This will create pages with a sequential number.
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.