Issues related to embedding dashboards for public consumption

Hi everyone,

I'm trying to publicly display a 7.14 dashboard via iframe on the same domain. I have set up security, use an API key and everything works with anonymous access.

However, there are several issues related to how it looks. and I'd like to achieve two things

  1. Ideally I'd like to edit CSS

  2. I'd also like to use a script to resize the iframes to the content

However there are several issues. Plugins for editing CSS don't seem to work, and TSVB CSS seems to get lost when iframed. Iframe resize scripts don't seem to work either. So then a couple questions:

  • I am currently using the share link from the dashboard itself. I think using the internal link (e.g. localhost/0.0.0.0/private IP) may help with cross domain issues. is this the case?
  • If so, is that possible with security and TLS set up?
  • if so, how? replacing the domain name XXXX.org/XXXX with an internal link doesn't seem to work?
  • I think this may unlock the ability to resize iframes as well. is this the case?

If anyone has general guidance on the issues or specific answers to my questions I would greatly appreciate it!

Thanks,

Tom

Hi @twright8

I think resizing should be possible, check the example in the official documentation

I'm not sure if css editing is supported, but I can suggest reading the main docs round sharing.

Regards, Dzmitry

Hi @Dzmitry ,

Unfortunately the documentation doesn't mention anything on automatic resizing to content. I've read the docs and don't think it helps with my issues but thank you for the reply either way!

Tom

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.