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

Accepted Answer
0 votes

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 votes

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
Community showcase
Published Oct 09, 2018 in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

373 views 0 9
Read article

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