Confluence Pdf ViewFile marco, with a click?

is it possible to insert a pdf preview "minimized" (closed) so that if the user is interested it will open it?

i try with:

* Link but it generate a direct download

* File view it generate the embedded preview but it's quite large

* File Attach it's nice but it costs lot of work if use is on per-file base

2 answers

1 accepted

Hi Paolo,

Just wondering if you have tried expand macro which could hide a content and display it by a click of a button. This macro could hide your pdf preview and users who are interested to see it could click the macro button to reveal the preview.

Hope it helps.

Cheers,
Septa Cahyadiputra

Hi Septa, thank you for your hint, that of course works.

it's a bit expensive, maybe i can try to build up a user macro that compose both macro

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

915 views 23 12
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