Can you create a template in Confluence which has an attachment?

Can you create a template in Confluence which has an attachment?

When you use this template, the page would be created, but attached to the page would be an attachment that is a copy of the original attachment as specified in the template?

Any ideas on how to do this (without writing a custom plugin) would be helpful.


7 answers

Just for the record, this is a related feature request -
Thanks Azwandi, I have voted and watched that feature request. If anyone else comes across this answers article, I recommend you do the same.
What is your use case? You can link to an attachment from your template, the attachment doesn't have to be on the page itself.

This answer has been removed and replaced by a comment

continued .... The missing piece of the puzzle is automating the way in which the generic excel document gets attached to the new page which is based on a basic template to embed an excel document. The key here is it all has to be automated. One click and the user can then start adding content to the embedded document. BTW - I think K15t is going to be a better solution in the long run ... but if there was a solution now as outlined above ... I might go for it.
This was an original comment from VegasMick I am toying with the idea of using word or excel templates attached to confluence pages in an automated fashion so a team member could create a new page based on a template and then when the page opens up, it has an embedded document in it like word or excel which they can then edit and use a workflow to progress through an approval process. Image an expense document in excel - attached to a confluence page - workflowed through Comalatech Adhoc Workflows. to be continued ....
postscript...We are considering just using a wiki table vs. a spreadsheet for this use case, because the rendering macro (viewxls) is not proving to be 100% reliable. That is, it sometimes opens in Read-Only mode, or not at all, generating internal support calls that end up with yours truly. It will require compromises, but is 100% reliable. As our Confluence use expands, we get more of these reports. With the new v4 editor, I believe I can convince most users to use pure wiki pages (instead of Word) and the improved wiki table (vs. cases not requiring spreadsheet functionality).
We have a use case now that was looking to use this kind of approach. A page template was developed that calls for an attached Excel spreadsheet, which (now at least) must be attached separately. The spreadsheet has a long list of items on one worksheet; about 10 of them are piped onto a second spreadsheet, and that, the 'milestone' sheet, is the one displayed. Because these pages will often be used by wiki newbies, all of the (simple) instructions are on the wiki page, some hidden by the cloak macro to preserve page real estate.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

183 views 2 10
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