You might want to guide users in creating content in Confluence, by providing a one-click link to create a page with a structured layout by:
- When used with Scaffolding Forms & Templates, automatically create a page based on a Live Template.
- Automatically suggest a page title
- Automatically categorize a page under a parent page
- Automatically add labels to the page
If you don't have Scaffolding, check out Using Links to Create Pages from Confluence Templates.
You can copy and paste this code into the Confluence Source Editor:
You can recreate the example in the editor view:
- Create an Add Page macro.
- For the parameter Link Text, enter the title of the link e.g. "Create a new 'How-to' article". Users will see this text when viewing the link on the page.
- To decide what will happen when a user clicks on the link, specify the source parameters:
- Source parameter determines the name of the Live Template to use. E.g. "How-to article live template".
- Source type is set to "template" since it is based on a Live Template.
- Check the "Live Template" parameter, so that the page to be created will always be updated when the Live Template is updated.
- If you need to add a little bit of standard in page titles, make use of Prefix and Postfix parameters. In this example, we add "How-to " as Prefix, so all page titles will start with "How to (do something)".
- To ensure organized space, make use of the Parent parameter, which tells Linking where to create the page. Useful to automatically categorize the pages.
- To automatically add label to the pages, we specify "how" for Labels parameter.