Skip to content

Embedded dashboard shows chart action menu (3-dots). How to hide it in read-only mode? #36377

@damodhar-admin

Description

@damodhar-admin

Bug description

Hi,
I am embedding a Superset dashboard using a permalink inside an iframe:

<iframe src="https:///superset/dashboard/p//?standalone=1" width="100%" height="900"> </iframe>

The dashboard loads correctly, but inside the embedded view, every chart still shows the 3-dots action menu (Edit Chart, View Query, Share, Export, etc.).

I want the embedded dashboard to be fully read-only, so that users cannot see any edit or query options.

What I tried:

Using standalone=1 / 2 / 3
Using permalink URL and normal dashboard URL
Setting allowed domains in Embed settings
Testing in incognito (not logged in)

Still the chart action menu appears.

Request;
What is the correct way to hide the chart action menu (3-dots) when embedding a Superset dashboard in an iframe?
Is iframe embed supported for read-only mode, or should I use the Embedded SDK + guest token?

Thanks.

Image

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions