It's all about the answers!

Ask a question

How can I import ReqIF file without renaming the resource - Artifact attribute by adding a suffix. "[DNG-Renamed-]"?


Anurag Rajput (8011622) | asked Mar 30 '21, 1:04 a.m.

 Hello,


While importing ReqIF file into DNG If an imported type resource has the same name as an existing type resource, 
then the incoming type is renamed by adding a suffix. "[DNG-Renamed-<X>]" where <X> is the next available number for the type name and suffix.

I dont want it to be renamed by adding a suffix, instead it should be updated in the existing resource available in the system. 

For example the project in DNG already contains a pirority attribute and the ReqIF file that i am importing also contains a priority attribute.
In this case an attribute named Priority [DNG-Renamed-1] is created during the import. 
I want it to be updated in the existing attribute rather than creating new attribute Priority [DNG-Renamed-1]. 

How can this be achieved?

Thanks in Advance!

2 answers



permanent link
Bartosz Chrabski (3.3k12242) | answered Mar 30 '21, 3:28 a.m.

 Assign the same URI for source and target artifact type, attribute or attribute type, link type.



Comments
Anurag Rajput commented Mar 30 '21, 4:19 a.m.

Hello Bartosz,


Thanks for your response. Source system is PTC integrity tool which doesn't have option to assign URI. 
Can this be done by editing ReqIF file exported from source system? Inputs on this will be very helpful.

Thanks.
Regards,
Anurag Rajput 


permanent link
Bartosz Chrabski (3.3k12242) | answered Mar 30 '21, 4:49 a.m.

 You can do it by editing ReqIF.


Comments
Anurag Rajput commented Mar 30 '21, 8:12 a.m.

Thanks for your response. If possible can you give more insight? Any article or document describing about it in detail will be very helpful.



Your answer


Register or to post your answer.