DNG: Delete same Artifact Type, Attribute, Data Type etc from Multiple component
Hello,
as part of DNG component clean-up, we would like to delete un-used artifact type, attribute, data type etc from component, is there any easier way we can achieve this.
we have lots of component inside a project area, and the properties looks like same most of the component means artifact type, attribute, and data type.
Using import component properties feature in DNG, we can import new and update existing type systems. But deleting type system couldn't find a way other than going to each component and first un-link the attribute from the artifact type, then delete the attribute and its data type (if its enum).
So could you please anyone know is there any way [small script] we can perform delete type system from multiple component based on a template (master) component.
Thanks a lot for your support in advance.
Regards,
Sunil
One answer
Hi Sunil,
This article (https://jazz.net/library/article/92554) and the subsequent one (https://jazz.net/library/article/92596) provide examples of using APIs to propagate type systems between components. I'm not sure it included deletion, but might provide ideas on how to accomplish your goal.