Create from template button replaced by page created link Edited

Hello,

Is it possible to automatically replace a "Create from template" button with the link of the created page once the page is created?

Thanks in advance for your input.

Regards,

Gianni

2 answers

1 accepted

This isn't possible with the out of the box macros.

You could use the Children Display macro to show the page exists, once they have created it (assuming they don't move the new page).

Can you explain more about the actual use case?

Hi James,

The use case is quite simple. I have a table where each row is a business requirement, with ID, Owner and Description. The fourth column would be a button to create a Requirement page from a template, to describe the requirement in more detail.

Once the page is created I'd like to replace the button with the created page.

Ok, so a bit like the Undefined Page Links functionality?

If you are on premise, you could try the Linking Plugin, but like an undefined page link I think each row's link would need to be pre-defined to create the link relationship.

You might be able to do something with either the Reporting add-on (on premise only) or even the Page Properties macros (not as neat, but would work on cloud), but they would require spliting the requirement table rows into pages.

Otherwise you'll need something custom.

Thanks for your input James!

The projectdoc Toolbox, commercial plugin for Confluence Server, provides a macro for this use case: Create One Document Macro

example.png

The macro is part of a toolbox that provides solutions for transclusions and dynamic linking. So it is not a confined solution you which you might be looking for?

Biased alert: Note that I am one of the authors of this add-on.

Great suggestion Robert - don't worry about being biased!

I agree with James, thanks ;)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,914 views 25 10
Join discussion

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