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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

309 views 11 10
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