How to create edit button for embeddable QS dashboard (same as demo central)

What API operations do I need to call as well as what inputs do I need from the user to replicate the edit functionality just like Demo Central?

Below screenshot has my web application a filtered dashboard selected from the search bar to display some financial information for Apple Inc.

I would like my users who have signed up to be an author to be able to edit a copy of any of the production dashboards I have available to them as their own analysis. So I will add an edit button on the existing left hand side bar or somewhere above the dashboard. What API operations do I need to call so that I am loading the above dashboard as an analysis in that authors account and within an embedded console? Also what do I need from the user to successfully make that call? Currently I’m using AWS Cognito for Auth, which returns a token on successful logins.

For more context the above screenshot is not using the embedding API, I will likely navigate the user to a different page when they click edit. This other page will soley be for embedding the console, but I also want to pass the data from, what is likely the DescribeDashboard API operation with it to open a copy of the dashboard for the user.

Hi,

For loading the authoring experience on a dashboard, you will create a button in your application which will be visible for subscribed users.

Once the user clicks the button, you would make a GenerateEmbedUrlForRegisteredUser call.

In the call you would pass the ExperienceConfiguration parameter as QuickSightConsole and initial path to the Analysis that is linked with the dashboard. This API will return a console embedded url which you can then load it in an iframe to give the analysis edit view.

Thanks,
Sri

1 Like

@Srikanth_Baheti Thanks Sri!