Can you point a label to a spesific path?

Harald Kvangarsnes August 31, 2015

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

0 votes
Answer accepted
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 1, 2015

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

Harald Kvangarsnes September 1, 2015

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

0 votes
Anne EQS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 1, 2015

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.)

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 31, 2015

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events