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

Toomas Adson
Contributor
January 8, 2025

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events