superset icon indicating copy to clipboard operation
superset copied to clipboard

Filter box with embedded widgets

Open kvotheyr opened this issue 9 years ago • 8 comments

Hi,

I'm embedding widgets to my web application and couldn't find a way to use filter box with embedded widgets. Is this supported? If yes, any pointers?

Thanks!

kvotheyr avatar Mar 22 '17 15:03 kvotheyr

You could embed a dashboard instead of embedding individual charts. You can suffix the dashboard url with ?standalone=true to not render the menu bar.

mistercrunch avatar Mar 23 '17 04:03 mistercrunch

@mistercrunch Thanks! that solves my problem.

kvotheyr avatar Mar 23 '17 11:03 kvotheyr

@mistercrunch When I embed dashboard with custom CSS and suffix ?standalone=true, the css changes are not getting reflected in the embedded dashboard. any pointers please to get this working?

kvotheyr avatar Mar 24 '17 05:03 kvotheyr

https://github.com/airbnb/superset/blob/ea72c6b0188e9c5a662358e89c95801b319296f8/superset/assets/javascripts/dashboard/components/CssEditor.jsx#L49

mistercrunch avatar Mar 24 '17 05:03 mistercrunch

Thanks!. @mistercrunch Is there a way to embed dashboard without requiring authentication for viewers?.

kvotheyr avatar Mar 27 '17 05:03 kvotheyr

Granting more rights to the Public role should allow for that, though we don't use it at Airbnb so I can't guarantee it would work out of the box.

mistercrunch avatar Mar 27 '17 05:03 mistercrunch

@mistercrunch I tried to give all dashboard and datasource rights to public role but I still get 'access denied' error. Also I see this in the config "Grant role the same set of permissions as for the GAMMA role. This is useful if one wants to enable anonymous users to view dashboards. Explicit grant on specific datasets is still required. PUBLIC_ROLE_LIKE_GAMMA = False" this dint work either. can you please let me know your thoughts on this?

kvotheyr avatar Mar 27 '17 10:03 kvotheyr

@mistercrunch Can you please tell , how to enable filter box in my web application or any configuration that i need to add in config.py file to enable it .

falgunifb avatar Feb 06 '23 08:02 falgunifb