Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

jagruthi kappala September 21, 2015

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

1 vote
Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 8, 2020

Hi,

You can use our add-on HTML/Iframe Macro: HTML 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

Chandra Dan August 19, 2020

Hello @Nar Kumar C_ - Narva 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 ?

Like Brian Borg likes this
Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 3, 2021

Hi @Chandra Dan Sorry for late response. HTML Macro and other add-ons in Confluence Cloud are sandboxed. The HTML/JS code runs in it's own iframe inside the sandbox which is secure.

Hope that answers your question.

0 votes
Tim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 12, 2016

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

0 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2015

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.

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2015

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

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events