superset icon indicating copy to clipboard operation
superset copied to clipboard

Unable to hide header while embedding dashboards

Open kushalmraut opened this issue 10 months ago • 3 comments

Version

apache-superset==3.1.1

Screenshot

image

Description

Hello,

I am currently embedding dashboards into an iframe and wish to hide the header in the embedded view. Despite following the documentation and appending standalone=1&show_filters=0 to the URL, the header remains visible on the dashboards.

Could you please assist me in resolving this issue?

Thank you.

kushalmraut avatar Apr 22 '24 06:04 kushalmraut

try standalone=3. it will remove the headers as well as filter section.

arpitkumar002 avatar Apr 24 '24 10:04 arpitkumar002

Curious if that helps. Can you test standalone values of 0, 1, 2, and 3, and let us know which work or don't? Maybe only certain modes are problematic? (cc @sadpandajoe @Vitor-Avila)

rusackas avatar Apr 24 '24 14:04 rusackas

Not sure if it's compatible to your use-case, but the Embedded SDK should handle that gracefully (the SDK handles the URL generation). The callout here is that the SDK allows embedded users, which don't have explore/edit capabilities -- it's just used for dashboard consumption mode.

Vitor-Avila avatar Apr 24 '24 14:04 Vitor-Avila