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:

Click here for the source code...
  <ac:structured-macro ac:macro-id="8fde47ff-350e-44c0-b87a-a34dd9a9eeb8" ac:name="add-page" ac:schema-version="1">
    <ac:parameter ac:name="name">Survey %child-counter:next &gt; number:000%</ac:parameter>
    <ac:parameter ac:name="linkText">Create Survey</ac:parameter>
    <ac:parameter ac:name="source">Survey</ac:parameter>
    <ac:parameter ac:name="live">true</ac:parameter>
  1. Create an Add Page macro.

  2. 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.