I have an issue with deleted metrics and visualizations.
When we delete a field from a dataset in LDM, does it also delete the metrics/insights that use that field? I noticed that some metrics and visualizations are missing, and I found that a Date field was deleted from LDM.
When I try to find the deleted metrics using the API, I can see that they still exist but are not listed in the metrics list. How can I re-link them to the insights/visualizations?
m
Moises Morales
04/01/2025, 10:01 AM
Hi Pradeep, any destructive changes in the LDM will drop the related objects from the workspace, in tshi case, the metric/insights. You would need to revert this action or use a restore point to reinstate the objects.
p
Pradeep Soni
04/01/2025, 11:26 AM
Thanks @Moises Morales, I don't have backup for organization but for specific workspaces, does that also work? i am trying to find the master workspace withing backup
m
Moises Morales
04/01/2025, 11:42 AM
In that case, you can do a PUT of the declarative layout into the same workspace and it will be rewritten. The endpoint to use is this one: /api/v1/entities/workspaces
Moises Morales
04/01/2025, 11:43 AM
Although I recommend doing this in a new workspace