We will now use the Add Page macro to add a "Create Task Page" button to the dashboard.
At the end of this step, you should have the following:
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:
- Add a Hide If macro and set User parameter to "admin" and "product-manager".
The purpose of the Hide If macro used in this example is to keep the button hidden from user admin and Product Manager.
- Then add a 1x1 table in the Hide If macro, color it as desired. (Grey is used in this example.)
Within the table create an Add Page macro.
Set the Name parameter to "
%global:current user > user>name%" . (This will create a task list with the current user name.)
Set the Link Text parameter to "Create Task List".
Set Source parameter to "Task" template and check the Live Template parameter.