The Templates for Blog Posts for Confluence offers you a macro to create a blog post with one click, using a predefined template. It's working in the same way as the Create from Template Macro in Confluence.
Step by step: Using the macro "Create blog post from template"
-
Place the macro "Create blog post from template" on your page.
-
Define the Button text.
-
Choose the template you want to use.
-
Enter a title. You may work with dynamic titles too.
-
Save the macro.
-
Save the page and use your new fancy button anywhere you like.
Parameters of the Create-Blogpost-From-Template Macro
|
Name |
Description |
Type |
This is a required field |
Default |
|---|---|---|---|---|
|
Button text
|
|
string |
|
|
|
Template name
|
Name of the template to create the new blog post from. |
enum |
|
|
|
Title of page to be created
|
You can use @currentDate, @dynamicDate, @spaceName, @spaceKey, @currentPage, @currentUser or @dynamicDate to have those values inserted for you. |
string |
|
|
|
Definition of @dynamicDate
|
Define how the @dynamicDate parameter is calculated.
|
string |
|
next Monday |
|
Labels of page to be created
|
Enter the labels separated by a comma |
string |
|
|
|
Space key
|
Space to create a new blog post in. Leave blank to default to the current space. |
spacekey |
|
|
|
|
|
string |
|
|
|
Copy page restrictions
|
Apply the page restrictions from the current page to the blog. |
boolean |
|
false |