Can you point a label to a spesific path?

We have created a template that is for a spesific product, and we would like that this template are created at the correct subpath. So that either you can do the following;

  1. Create the page from anywhere in the space but it is saved to space/product/somepage/
  2. Only be able to create the template if you are in the right path space/product/somepage/

Does anyone know if this is possible?

 

Best regards
Harald 

 

3 answers

1 accepted

You should be able to do this with the Create Page Macro.

The Create a Page Macro plugin worked for us. Thanks for the tip Milo!

0 vote

Confluence won't support that because templates can't set the title of the page (it's also nonsense, because you can only do it once in any space and the whole point of a wiki is to enable people to create many different pages)

You could do it in a Blueprint though - that lets you define a whole set of predetermined pages in any way you like.

I don't know a way to restrict the creation of a template via the create button, but we use a link to help users to create a new page as a subpage of a defined one  - whereever you add the link, be it the homepage of a space or any other page, by clicking on it you'll add the new page with the reuired template as a subpage of a definded parent page.

Link looks like this:

http://<yourdomain>/pages/createpage-entervariables.action?templateId=<yourtemplateID>&spaceKey=<yourSpaceKey>&title&newSpaceKey=<yourSpacekey>&fromPageId=<ID-of-the-required-parentpage>

(Find out the right values in the <brackets> by creating a new page starting at the required motherpage and using your template. Then add this link to any page.)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 3 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

25 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you