Hi all, We're using GoodData in our Dashboard prod...
# gooddata-platform
j
Hi all, We're using GoodData in our Dashboard product. Each of our customers has a unique dashboard they log in to and each customer has their own GD workspace. We output analytics for them in our dashboard via GoodData using the iframe embed method. We'd like to configure drill to url functionality for specific charts across our workspaces. We've read through the docs and can see that it is possible to manually configure drill to url functionality via the GoodData dashboard (https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-into-hyperlink/) but we are wondering if there is any other way we can achieve the drill to url functionality without the need to set this up manually as described in the linked docs? If not, if we are using a master workspace as the basis for each of our customer workspaces, is it possible to set up the drill to url functionality in the master workspace and have that propagate to each customer workspace?
j
Hello James, I see that you have posted the link to the cloud documentation, but are posting in the platform channel. I belief you are working with the platform, correct? In that case, you should be following the doc HERE. There is an API call to Drill into a report Item when you are configuring a dashboard. As for the master workspace, you are working with LCM and therefore if something is implemented in the master workspace it will pass down to the other workspaces in the segment.
🙌 1
j
Hi Joseph, aha, thanks for the correct link. Yes, we are working with the platform
Thanks for confirming that changes made in the master workspace will pass down
Hello @Joseph Heun what should the payload look like if we want to set up drill to url via the gd api: https://help.gooddata.com/doc/growth/en/expand-your-gooddata-platform/api-reference/#section/Drill-into-a-dashboard-reportItem
the docs say
See the example in the JSON of Create a dashboard
but I can't find any example in a
Create a dashboard
section
j
Hi James. You first need to create a metadata object as mentioned HERE, and assign it ProjectDashboard category. This is to create the dashboard itself.
Or, you can run a GET call on a dashboard object and update it with the drill
j
Hi @Joseph Heun thanks for your response. Can you advise which endpoints we need to hit to get the dashboard object and also patch it? In our code currently we have the ability to get the gooddata project id. Is this the correct id we'd need to be able to do GET on the dashboard object?
j
The following would be an example of the endpoint you would use: https://secure.gooddata.com/gdc/md/{project_id}/obj/{object_id}
You would need to change the domain and project ID, and use the relevant object ID for the dashboard