Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Page Macro - can I specific parent page in addition to the Space

Chris Tatem
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2019

I like the create page from template macro, but it seems to create pages in the same place as the macro.  Is there a way to specific the new page to be a child of the page on which the macro button appears?

 

2 answers

1 accepted

0 votes
Answer accepted
Chris Tatem
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2019

Nevermind, it seems to do exactly what I wanted.

0 votes
Tyler Brown
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.
April 26, 2019

Hey Chris,

You can, you just need to use the HTML Macro.

This code should work for you:

<div align=center><a href=https://confluence.url.com/pages/createpage-entervariables.action?templateId=###&spaceKey=XXX&fromPageId=###><button type="button" class="aui-button aui-button primary">Button Text</button></a></div>

You'll need to insert your confluence url, template id, space key and parent page id.

Tyler

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events