Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use HTML macro and Iframe to insert Office365 document to Confluence page

Toomas Adson
Contributor
January 8, 2025 edited

Hi

 

I am trying to bring users Office365 documents to  Confluence.  The business needs to produce Excel and Powerpoint files and Confluence lacks to be alternative to those options. And - business users need to collaboratevely edit documents. Standard Attachmet macro is not good enought for users, so  I resort using cloud services. 

 

So I did tried to use HTML macro with Iframe and could make it work with Google Docs - Example below
"iframe title="Example title" width="1840" height="541.25" src="https://docs.google.com/spreadsheets/specific link/edit?usp=sharing" frameborder="0" allowFullScreen="true"></iframe>"  

 

I cant make it work with Office365 files, I am getting the error - host  --..  refused to connect.

 

Any hints what to check? Anyone has other experience with sharing the Excle/Powerpoint through Confluence?

 

1 answer

0 votes
Kristian Klima
Community Champion
January 8, 2025

Hi @Toomas Adson 

Yeah, Google docs tend to work providing you a) use the iframe macro, b) extract the URL section from the whole embed code. I spent this morning trying to make a G-drive video working in Confluence AND on our Scroll Viewport site rendered from Confluence - none of which is publicly available.

The reason it works is that both Confluence and G-drive are behind the same Okta login.

Google docs have the option to allow sharing within your organization (=company/domain).

I'd explore login/authentication setup and sharing setup on Office 365.

You can also try your luck on the Marketplace - there might be an app that could help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, confluence, marketing templates, confluence templates, marketing project management, content strategy, campaign planning, marketing collaboration, confluence for marketers, atlassian learning, marketing workflows, confluence best practices

5 must-use templates for Marketing teams (from a Confluence Marketer!) 👩🏻‍🎨

Who doesn’t love a good template? We sure do! Check out our top template picks for Marketing teams who want to streamline their processes, enhance collaboration, and take their marketing to new heights.

Read more 📚
AUG Leaders

Atlassian Community Events