Hello,
I tried to include a page out of my MS Onedrive folder with the html-include macro.
This seem to work, but the size of the included page is not usefull --> see Screenshot (the frame is around 4x2cm, also for published pages).
Generally speaking, if you embed using the html component, you can put it in an iframe or div and give it a style with height and width, and it will change the box to that size for you. For example, <iframe style="height:1000px;width:1400px" src="https://docs.google.com/spreadsheets/d/somedocguid"></iframe>
Hello there!
Thanks for sharing this with the Community Peter.
I tried replicating this with other pages, such as Google or Microsoft's website. Both were shown multiple times larger than what we have in your screenshot.
I was not able, however, to try out with an Excel document like you did.
Also, resizing the HTML Include is not currently possible. It simply displays what is given by the URL used.
With that in mind, I would like to understand if this size problem is also present with other addresses. Would it be possible for you to try this and let us know?
Do not forget to include the URLs on your Confluence whitelist:
Looking forward to your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Diego,
Thank you for your reply!
I tried it with other pages, most of them seem to be on a much bigger scale!
The whitelist is already configured.
However, you can try it with my empty Excel sheet:
Link:
Do you know, how it is possible that the html-include macro works, while the html macro with an iframe shows a blank page?
Thank you for your Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alright Peter, I got it to work!
So, reaching out to some Microsoft documentation, I was able to find that we can create links to embed workbooks in websites! Here is how:
- Go to your OneDrive and find the desired file
- Now, right click it and click embed:
- Now, in the right side select Generate to create the link:
- After that, the system will give you an iframe do embed:
- Now, copy the iframe
- With the iframe copied, go back to Confluence
- Insert an HTML Macro
- Copy the ifram
- publish the page
Notes:
Rerefence:
Unfortunately, the HTML Include macro is not capable of displaying a bigger version, just like you experienced. This might have to do with how Microsoft system sends information about the table we are trying to share.
Hopefully the iframe solution does it for you! Let me know your thoughts Peter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.