Confluence Templates

Hi, is it possible to set up a template with an attachement and also images?

Thanks

2 answers

Hi Simon,

I've not tried this, but it should work if the attachments and images already exist, e.g.

* Create a page called attachments

* Attach the relevant files and images to it

* in your template add something similar to:

[spacekey:pagetitle^attachment.ext]

!spaceKey:pageTitle^image.gif!

where spacekey is the Space you created the page with the attachments, pagetitle is the title of the page with the attachments on in and image.gif is the name of the image(s) you attached.

Make sense?

Hope that helps,

Andrew.

Thanks

For the image, compny logo, that sounds perfect.

For the attachement, I was hoping to attach a visio doc, to which our developers would be able to update (via the lockpoint plugin. So the attachment would be unique to the page. Sounds like the above would be a 1 source for multiple pages, rather than unique on each page?

Thanks for the quick responce.

Yes, it would be single source for multiple pages, although you could have as many attachments as you wanted, e.g. if you attach 5 files to the "attachments" page then 5 would be available for the template.

If the attachments need to be unique to the page the only way I can think of doing this is attaching all the Visio docs to the "attachments" page and then creating a separate template for each of the pages that you want the developers to create, each template referencing a different attachment. Which means you'd have a 1:1 ratio of templates to pages, which would probably be confusing.

Another way of doing achieveing what you want might be to attach all of the Visio documents, but rather than link them directly in the template just have instructions for the developers to attach the relevant Visio doc when they create the page from the template?

Just a quick update and unfortunately inserting an image in a template doesn't work on 4.1 (and probably not 4.0 either), but should be OK if you're on 3.5 or below.

Ignore me, images in templates do work on 4.1. Chalk that one up to user error on my part.

Hi,

Our Add-on Page Tree Creator works a bit different than the Confluence blueprints / templates. The PTC-templates are based on normal confluence pages and therefore creating a PTC-template is as simple as creating a Confluence page. Of course you could start creating your PTC-template based on an existing Confluence page.

Try our Live Examples (no registration needed).

Marketplace link: Page Tree Creator.

Regards,
Stephan

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 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...

1,592 views 4 13
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