I just took over a Quicksight account. I have some dashboards published and some analyses. I want to edit one of the dashboards and remove a specific sheet. I try to do it with boto3 Python API since I can’t do it from UI (no option). Through the describe_dashboard function I notice that the SourceEntity of the dashboard is a template. I searched that a template is something related to metadata that could not exactly understand (so far, what I know is that a dashboard is derived from a specific analyses).
Can someone guide me on how to apply this change to the published dashboard? I have all ARN’s of the datasets, templates and dashboards
Hi @Fotis_flex - Welcome to AWS QuickSight community and thanks for posting the question. Ideally you can not change any published dashboard. You have to go to back to analysis and then remove the tabs and republish it. I never tried to do it in Boto3 API but there should be a way to republish the dashboard with changes.
Hi @Sanjeeb2022 and thanks for the reply. I have some difficulty doing it from the UI of Quicksight. First, I am not sure which is the source of the dashboard, from boto3 I receive that the source is a template and not an analysis? I am confused with what is the difference. Then, when I locate an analysis that looks the same as the dashboard, when I try to republish it to an existing dashboard, the option is greyed out so I cannot! Please note that I am the owner! In the end, I still don’t know how to edit a dahboard which I think it should be a little more intuitive. Any more ideas?
Hallo @David_Wong and many thanks for coming back. I do exactly as you say by using the API with the difference that I create a new dashboard from the template. Then, in Quicksight GUI I can see that the new dashboard exists under “Manage assets” but when I go to the Dashboards tab, my dashboard is not listed and cannot view the result! It seems strange to me
If creating a new dashboard instead of updating the original one is acceptable, you actually don’t need to use the API. Once you have updated the analysis, you can use the UI to publish a new dashboard.
If you use the API, you have to use UpdateDashboardPermissions to set the correct permissions.
@Koushik_Muthanna Where in the documentation can I see the list of permissions and what each permission means? The only way I was able to figure out the correct permissions is by using DescribeDashboardPermissions on an existing dashboard that I own.