hi all, I’m going to change my LDM that need to de...
# gooddata-platform
n
hi all, I’m going to change my LDM that need to delete some attributes in datasets and it impacts to insights for sure. Can we list how many insights of workspace could be impacted? Thanks
m
Hi Nam, you can use the following GrayPages resource to help with this:
https://<YourDomain>/gdc/md/<WorkspaceID>/usedby2
You’ll just update the above URL with <YourDomain> and the <WorkspaceID> you’re working with and this will returns objects which uses the specified object. Once you access this resource, you will add the URI of the Attribute/object you want to delete - For example (In the following format): qqpd81ppn2zdk3xmpishnuiy95vu8/obj/307
t
Hello @Nam Phan, • In GoodData Platform, there is an indicator of impact in the summary of your changes. Click on “Dependencies detected” as displayed on the image. • GoodData Cloud released a similar feature in October, called Impact Analysis. https://www.gooddata.com/developers/cloud-native/doc/cloud/model-data/evolve-ldm/monitor-model-changes/ Please note that both UIs search for impact only in the given workspace. Any impact to other workspaces is not taken into account.
n
Thanks for your help. I have 100 workspaces and I need to notify to my customers to rebuild their reports. It’s really if we could have another approach for this problem
t
@Nam Phan do you use GoodData Cloud or GoodData Platform? https://www.gooddata.com/developers/cloud-native/doc/cloud/
n
I’m using GoodData Cloud
j
There is a programmatic way how to achieve what you need. List workspaces: https://www.gooddata.com/docs/python-sdk/docs/workspace/workspaces/list_workspaces/ Get all dependencies for a list of objects: https://www.gooddata.com/docs/python-sdk/docs/workspace-content/workspace-content/get_dependent_entities_graph_from_entry_points/ The dependency graph contains all dependencies, including transitive ones.
n
thanks, I’ll try
p
🎉 New note created.