I'm trying to figure out a way to embed an interactive plot (created with plotly/python) on a Confluence page.
We use the Confluence cloud service, so need to host the plot on the Confluence server.
What I'm currently trying is this: I save the plot as an html file. Then I upload the plot.html file to Confluence as an attachment. Then I create an iframe macro in the Confluence page, and paste the URL of the attachment into the iframe.
But when I publish the page and view it, the browser downloads the html code for the plot, instead of displaying it. After some investigation, what seems to be happening is that when the Atlassian server responds to an http request for the attachment, it sets the "content-disposition" field to "attachment", which tells the browser to download the file, and not try to render it.
If the html file for the plot is hosted elsewhere (i.e. on servers that don't set content-disposition to 'attachment'), embedding the plot works just fine. e.g. https://plot.ly/~elizabethts/9.embed
Can anyone suggest a workaround to this? Is there a way, for example, to tell Confluence NOT to set the content-disposition?
There is an addon that reveals all the secrets of Confluence permissions and restrictions: https://marketplace.atlassian.com/plugins/hu.metainf.plugin.confluence.ultimate-permission-manager/server/overview
It allows you to verify who can or cannot see what (spaces, pages, restricted pages) and understand the "why" as it gives you detailed explanations of direct or indirect permissions effective in the system.
No, only a confluence admin can see all restricted pages automatically. However, a space admin can remove restrictions from pages: https://confluence.atlassian.com/doc/page-restrictions-139414.html and then see them, but then it will be obvious that someone did something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.