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

This widget could not be displayed.

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!

This widget could not be displayed.

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.

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

170 views 12 7
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