It's all about the answers!

Ask a question

DNG: Delete same Artifact Type, Attribute, Data Type etc from Multiple component


Sunil Kumar (27111) | asked Nov 16 '20, 10:43 p.m.
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



permanent link
Kathryn Fryer (461) | answered Dec 04 '20, 12:37 p.m.
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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.