Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
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.

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 16 '20, 10:43 p.m.

Question was seen: 1,212 times

Last updated: Dec 04 '20, 12:37 p.m.

Confirmation Cancel Confirm