Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded Dashboards #1170

Closed
attahkhan016 opened this issue Sep 22, 2016 · 16 comments
Closed

Embedded Dashboards #1170

attahkhan016 opened this issue Sep 22, 2016 · 16 comments

Comments

@attahkhan016
Copy link

Can we send external parameter with the embedded charts or Dashboards ?

@xrmx
Copy link
Contributor

xrmx commented Sep 22, 2016

what is an external parameter? what do you want to achieve?

@xrmx xrmx added the question label Sep 22, 2016
@attahkhan016
Copy link
Author

attahkhan016 commented Sep 22, 2016

Hello ,

I want to embedded the dashboard or the charts into our product.
1)Can I embedded it into our product with the embedded option provided ?
2) if yes , can we send external parameters with it , for example :can I
send a specific request like just show the no. of male in India then it
should show the count specific to India from the world gender database from
my product/in the product?

@nwaughachukwuma
Copy link

nwaughachukwuma commented Apr 3, 2017

Is it even possible to get the embed code of a superset dashboard? It will be fantastically awesome if this is possible @alexism @attahkhan016 @xrmx @sco @schleyfox

@mistercrunch
Copy link
Member

you can render the dashboard into an <iframe> if you want, add the ?standalone=true to the URL if you don't want the Superset menu bar to render.

@nwaughachukwuma
Copy link

Thanks so much @mistercrunch. But how do I get superset menu bar to render?

@mistercrunch
Copy link
Member

you don't add ?standalone=true

@diego-d5000
Copy link

diego-d5000 commented Nov 1, 2017

It seems that ?standalone=true just work with slices, but not with dashboards (v0.18.5)

@bilalakil
Copy link

bilalakil commented Nov 30, 2017

Howdy! Similar to the original reporter, I want to embed dashboards into a separate product.

How do I, as @mistercrunch suggested, "render the dashboard into an <iframe>" while avoiding the need to login to Superset?

Note: I can't use public dashboards here, as I'll need to manage the permissions for each different user of the product (so they can't see each others' data). So my backend will be managing Superset users, and I need iframes which are somehow "pre-logged into" the relevant user, similar to the private URL/permalinks feature of Zoho.

@mistercrunch
Copy link
Member

@diego-d5000 you may want to use &standalone=true if there's already a ? in the url

@mistercrunch
Copy link
Member

@bilalakil you should open a new issue for this as it's a different subject altogether, closing this one as I just tested and standalone works just fine

@joseph-luketelo
Copy link

@bilalakil, I am very much interested in your question about how to render private dashboards into an iframe while avoiding the need to login to Superset.
Did you open a new issue or did you find a solution to this?
Please let me know how you solved it.

Thank you

@cristinaBodnari
Copy link

@bilalakil @joseph-luketelo I am also interested in this problem. Can you let me if you fount some informations regarding this?

@bilalakil
Copy link

bilalakil commented Apr 11, 2020

Unfortunately I never overcame this problem 🙁 Can't remember where I left off at as it was a long time ago too. Afraid I can't help.

P.S.: @joseph-luketelo I thought I responded to your question a week ago, but apparently responding through email doesn't work (even though GitHub provides instructions to respond via email)? Oops

@joseph-luketelo
Copy link

@bilalakil I did not see your response! But thank you for getting back to us. I also never figured out how to solve this problem up to date.

@romens96
Copy link

romens96 commented Jan 21, 2021

@bilalakil @joseph-luketelo hi, though its been years
hope this article helps.
https://medium.com/@sairamkrish/apache-superset-custom-authentication-and-integrate-with-other-micro-services-8217956273c1

@Vishal2816
Copy link

Vishal2816 commented Oct 12, 2021

Can anyone resolve that issue for embedding superset dashboard...please let me know if anyone knows the solution for the version 1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants