It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to embed HTML page in a Confluence page - Confluence cloud

I am trying to include information on one of the Confluence pages from an external website. Is there a way to embed an external html page within the Confluence cloud page.

I am using Confluence Cloud and HTML macros are not available for Confluence cloud. 

4 answers

Hi,

You can use our add-on HTML/Iframe Macro: HTML & Iframe Macro for Confluence available in Atlassian Marketplace.

Once installed, you can open the macro and embed using iframe, for example:

<iframe width="500" height="400" src="https://example.com/page"></iframe>

If you have full HTML file, simply copy and paste full code to macro body and it will display it properly.

Using this add-on, you can also add custom functionalities in your Confluence with HTML, CSS and Javascript. Please try it and let us know if you face any issues.

Best,

Kumar

Hello @Nar Kumar _Bitwelt Software ,

 

I am also trying to embed HTML code in my confluence page. As we know that HTML Macro is disabled on the confluence server due to security issues like Confluence will be vulnerable to Cross Site Scripting attacks. I would like to know how your add-on will solve this issue and provide security by preventing cross site attacks. Can you please provide more details about this ?

Hi,

I think the approach to solve this "in the cloud" is to use Atlassian Connect, bit of discussion could be found here: https://answers.atlassian.com/questions/29624029

 

To create a basic private Connect add-on that displays an HTML snippet is fairly easy, but there is also the option of the CYO plugin: https://marketplace.atlassian.com/plugins/com.playsql.createyourown which might work for you.

Hi @jagruthi k,

We've created a HTML macro as part of our toolbox of useful Confluence Cloud macros. It lets you securely embed any custom HTML and JS into any Confluence page or blog.

Try it here: https://marketplace.atlassian.com/1215202

Keen to know if it helps you out :smile:

Tim

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,411 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you