I have word document template saved in bubble DB.
I want to use that document template and preview on the page.
I use html tag with
`
I have word document template saved in bubble DB.
I want to use that document template and preview on the page.
I use html tag with
`
I have iframe tag in html editor , but I am getting āAccess deniedā error.
This is my html tag - <iframe src=āhttps:Current cellās Fileās Fileās URL?embedded=trueā width=ā100%ā height=ā100%ā frameborder=ā0ā
Yes, you can display a Word document inside an iframe in a Bubble app, but not directly using the .doc or .docx file URL, because browsers donāt natively render Word files.
To make it work, you need to use an online document viewer like Microsoft Office Online or Google Docs Viewer to embed the document properly.
Microsoft Office Online Viewer Option
<iframe
src="https://view.officeapps.live.com/op/embed.aspx?src=Current cell's File's URL:formatted as URL"
width="100%"
height="600px"
frameborder="0">
</iframe>
I changed the iframe attributes but still getting āno preview availableā.
It works because I am doing exactly that in an app.
Debug
I was able to get it. thank you!