Embedded Visio document are not visible when edit page #4358

Closed
opened 2026-02-05 08:39:13 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @mfrattale on GitHub (Dec 10, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hi,
We have Visio documents embedded in the bookstack pages. When we view the page we see the Vision document correctly. When we open the page to edit it, the Visio document disappears and if we save the page we lose the document. Visio documents are stored on Sharepoint.

What can we verify?

Thank you for support.

Regards
Matteo

Exact BookStack Version

v23.06.2.

Log Content

We don't have error on the screen

Hosting Environment

It's hosted in a cloud provider and It's deployed on Kubernetes. There isn't proxy from outside.

Originally created by @mfrattale on GitHub (Dec 10, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Hi, We have Visio documents embedded in the bookstack pages. When we view the page we see the Vision document correctly. When we open the page to edit it, the Visio document disappears and if we save the page we lose the document. Visio documents are stored on Sharepoint. What can we verify? Thank you for support. Regards Matteo ### Exact BookStack Version v23.06.2. ### Log Content We don't have error on the screen ### Hosting Environment It's hosted in a cloud provider and It's deployed on Kubernetes. There isn't proxy from outside.
OVERLORD added the 🐕 Support label 2026-02-05 08:39:13 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 10, 2023):

Hi @mfrattale, How are the Visio documents being embedded onto the page? What does the process and/or embed code look like?

@ssddanbrown commented on GitHub (Dec 10, 2023): Hi @mfrattale, How are the Visio documents being embedded onto the page? What does the process and/or embed code look like?
Author
Owner

@ssddanbrown commented on GitHub (Dec 23, 2023):

Since there's been no further follow up I'll close this off.

@ssddanbrown commented on GitHub (Dec 23, 2023): Since there's been no further follow up I'll close this off.
Author
Owner

@mfrattale commented on GitHub (Jan 3, 2024):

Hi @ssddanbrown,
I really apologize for the delay, I hope it's not too late to reply :-)

Visio documents are embedded using an iframe. Below is an example:

<iframe src="https://sharepoint.com/sites/MyDocument/_layouts/15/Doc.aspx?sourcedoc=%111111-22222-33333%7D&amp;action=embedview" width="800px" height="600px" frameborder="0">Documento di <a target="_blank" href="https://office.com">Microsoft Office</a> incorporato, con tecnologia <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>

Thanks,

Regards
Matteo

@mfrattale commented on GitHub (Jan 3, 2024): Hi @ssddanbrown, I really apologize for the delay, I hope it's not too late to reply :-) Visio documents are embedded using an iframe. Below is an example: `<iframe src="https://sharepoint.com/sites/MyDocument/_layouts/15/Doc.aspx?sourcedoc=%111111-22222-33333%7D&amp;action=embedview" width="800px" height="600px" frameborder="0">Documento di <a target="_blank" href="https://office.com">Microsoft Office</a> incorporato, con tecnologia <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>` Thanks, Regards Matteo
Author
Owner

@ssddanbrown commented on GitHub (Jan 3, 2024):

Okay, so a fairly standard iframe.
Should work, although you'd need to configure the iframe source to be allowed if not already done otherwise BookStack will block it via browser-level controls:

https://www.bookstackapp.com/docs/admin/security/#iframe-src-control

@ssddanbrown commented on GitHub (Jan 3, 2024): Okay, so a fairly standard iframe. Should work, although you'd need to configure the iframe source to be allowed if not already done otherwise BookStack will block it via browser-level controls: https://www.bookstackapp.com/docs/admin/security/#iframe-src-control
Author
Owner

@mfrattale commented on GitHub (Jan 9, 2024):

Hi @ssddanbrown,
I did some tests and I fixed the problem deleting this string:
Documento di <a target="_blank" href="https://office.com">Microsoft Office</a> incorporato, con tecnologia <a target="_blank" href="https://office.com/webapps">Office</a>.

Now it works fine!
Thanks a lot for the support.

Regards

@mfrattale commented on GitHub (Jan 9, 2024): Hi @ssddanbrown, I did some tests and I fixed the problem deleting this string: `Documento di <a target="_blank" href="https://office.com">Microsoft Office</a> incorporato, con tecnologia <a target="_blank" href="https://office.com/webapps">Office</a>.` Now it works fine! Thanks a lot for the support. Regards
Author
Owner

@ssddanbrown commented on GitHub (Jan 11, 2024):

Good to hear you got things working!
I'll therefore close this off.

@ssddanbrown commented on GitHub (Jan 11, 2024): Good to hear you got things working! I'll therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4358