How to integrate other HTML pages


I would like to integrate some generated HTML reports into Confluence and wonder what the easiest / best way would be to to that. The generated HTML page consists of HTML, some JS- and CSS-files, images, etc.

  • Is it possible to upload the files to a Confluence space and display them like other regular Confluence pages?
  • Is it possible to attach all the files to an existing page and include the attachment using a macro or whatsoever (similar to the Excel macro)?
  • any other ideas?



3 answers

1 accepted

0 votes
Accepted answer

I've done this with out Confluence-based documentation site. We have a few hundred pages of API docs, including stylesheets and images that are included. These API docs are in addition to the COnfluence content and don't require Confluence's styling.

To do this, just copy the folder that contains all your HTML into the confluence/confluence directory on the server. At that point, you'll be able to access the pages at the same level as your the /display path. You might also have to tell Confluence not to render the pages with its decorators.

I tied our HTML pages in to Confluence's permissions system and prevented the Confluence decorators from being applied to the HTML pages. I blogged about it here:

Sounds good! I'll give it a try! :)


Do you want the pages to be an attachment or for users to be able to view them? Do they need to look like the other Confluence pages, or do they stand on their own?

  • The users should be able to view them like real pages.
  • The pages stand on their own. Styling like other Conluence pages is not neccessary.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,029 views 51 8
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