Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create from template macro shall render the new page

Hi everybody,

when I create a page using the "create from template"-macro I would like the macro to be replaced by the link to the new page.

Does anyone know a workaround or macro that leads to this result?

Thank you in advance!

1 answer

0 votes

Hi @Anna Knutsen

do you want to use the macro or do you want to have a button that looks like the macro but would lead to a new page?

If so it would be something like that:

## Macro title: AUI Button
## Macro has a body: N
## @param Title:title=Title|type=string|required=true
## @param URL:title=URL|type=string|required=true
<a href="$paramURL">
<button class="aui-button">

You can put in Create from template as title and the URL to the new page.  

Thanks @Fabienne Gerhard  for your answer! I would like to have button though, where first a specific template is opened. After the user has filled the template and has saved it as a new page I would like the button to become a link to the new page.

So it shall basically be like the "create from template"-macro, but instead of always opening the template when you click on it, it shall open the newly created page, when the template was used...

Hi @Anna Knutsen

where do you want to put this button at? Because when you put it on your template it would just lead to the page just created (a loop ;) )

Better would be using macro 'Children Display' on main page with create from template macro button

Everytime you create a new page the new link is shown in Children display macro.

@Fabienne Gerhard I would like to put the button in a table on a parent page where users shall create new content and link a child page. This child page shall be created with a certain template (that's why I came up with the "create from template"-button). After the user has created it, the "create from template"-button shall be replaced by the link of this new page. Just this one child shall be linked, not all of the Children of the page. That's why I think the "Children Display"-makro won't be useful here, will it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you