Need help to view an attached HTML Page

Is there anyway I can attach a saved HTML file into CF. Then use the Iframe macro (or any other macro) to view that html page on a CF page? Or can anyone think of a better solution for viewing a HTM(L) file on a confluence page.

Currently I am having to host the HTML page on another server.


1 answer

1 accepted

I think there are a number of ways of doing this, here is one that I know works :).

Use the HTML Macro from HTML Plugin for Confluence. You can display html from an attachment, system file, or url. For example, here is the wiki markup version of how you would do it or just use the Macro browser to prompt for similar:


Unless you only have trusted users editing content on your site, consider using Macro Security for Confluence to avoid security exposures by allowing hmtl content on your site.

Thanks for your suggestion Bob. Do you know if this is also possible with the HTML plugin thats built into confluence?

If you don't have security concerns on your site, enable the Atlassian HTML macros and see if it supports your use case. html-include supports including html from a url. I don't think there is any support for attachment or system file inclusion, although you can use the url of an attachment if necessary.

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...

371 views 20 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