Embedding visual - Part of the sheet is being included in the iframe. How do i hide it?

I am using the .net sdk to request a visual embedding url, passing it to the client and and using the amazon-quicksight-embedding-sdk to render the visual in a table cell.

The visual itself is a small (80x64) kpi float value that would, but when its displayed in the client it is a lot larger and has x/y scroll bars if its constrained to the parent.

How can i style or format this visual so it can be displayed at its correct size without the extra sheet space?

1 Like

Hello @tomDG, I have a few thoughts on this. My first thought is, are you embedding a single visual or a full sheet containing only a single visual? Also, something I am curious about, if you change the sheet layout in the dashboard the visual is contained in to the Free Form layout instead, it might fix the issue.

image

Let me know if that helps!

1 Like

Hi, thanks for the reply. I have a single visual in a free-form sheet, and i am requesting that individual visual using GenerateEmbedUrlForAnonymousUserAsync with a visual ExperienceConfiguration. In the client i am using the embedding-sdk with embedVisual (i have the same issue when i directly embed the iframe though).

@DylanM any thoughts?

Hello @tomDG, I was looking through some documentation and options for embedding a single visual, and if you look on the overview sheet for this embedding demo website (click either of the log-in options, it was created by the QuickSight team), it has some examples of single visual embedding. Looking through the developer console on the website, it looks like you might be able to manage this through updates to the frameOptions and styling the experience-container div.

Let me know if this provides some valuable insight!

Hello @tomDG, did my last response help guide you towards your expected output? If so, please mark my reply as the solution. Otherwise, I would recommend filing a case with AWS Support where we can dive into the details to help you further. Here are the steps to open a support case. If your
company has someone who manages your AWS account, you might not have direct access to AWS Support and will need to raise an internal ticket to your IT team or whomever manages your AWS account. They should be able to open an AWS Support case on your behalf.

If we do not hear back from you in 3 days with any further questions, I will archive this topic. Thank you and I hope this helps!

Hello @tomDG, since we have not heard back from you, I will archive this topic. If you need further assistance please post a new question in the community and attach a link to this topic to provide relevant information. That will ensure you are at the top of the priority list for a response from one of our QuickSight experts. Thank you!