How can I enable iframe embedding?

I have a Desk page where I’ve embedded custom ReactJS. How can I expose it via an iframe to an external site without running into permission issues? Does Frappe support this?

Hi @Khanhhh

The external site generally does not allow embedding iframe and that is why permission error pop ups.

In Workspace Custom HTML, iframes work fine and does not block authenticated pages. For example insight dashboard can easily be embedded by using iframe within ERPNext.

If your goal is to show a report, dashboard, or another ERPNext instance, a better option is to create a Web Page in ERPNext and embed content there.

1 Like