Remove Program tracked entity attribute with data already collected

Good day, I’m trying to remove or hide a tracked entity as its no longer needed, but I’m getting an error “Cannot remove attribute inherited from Tracked Entity Type”, I’m guessing its because the program is already in use, is there anyway I can still remove it?

1 Like

Hi @drlappies,

we currently block all metadata-deletion, if there exist data connected to that metadata. There is no built-in feature in dhis2 to remove metadata in this case.

If you want to hide the metadata and data without deleting it, you can change the sharing for the metadata. In that case, the data and metadata will still exist, but users will not have sufficient access to see it.

Hope this help.

1 Like