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

Issue with updating existing artifacts using CSV import in DNG.

 Artifacts -> Import Artifacts -> Import requirements from a CSV file or spreadsheet -> Import requirements into a module and select “Update artifacts that match entries, and create artifacts for new entries/ ignore new entry”.

When we do the above steps, Existing artifacts inside selected module are not getting updated by CSV instead new artifact with same ID is being created. Recreation of same artifact with same ID is not an acceptable behavior right? 

According to me this is an issue. Please test this.

I request you to resolve/guide on this.


0 votes

Comments

For the "Choose import options" of the dialog, which of the following are you selecting?

Specify how entries in a CSV file are imported
- Create new artifacts for all entries
- Update artifacts that match entries, and create artifacts for new entries
- Update artifacts that match entries, and ignore new entries

And what is the desired result? Are you updating via CSV existing entries only or updating and creating new?

 Thanks MK for replying!!

I am doing this
- import requirements into this module
Update artifacts that match entries, and create artifacts for new entries

I am trying to update an existing artifact name (i.e. change its name) inside a module using CSV file by making use of ID



3 answers

Permanent link

Let me introduce the elusive "id" column (not to be confused with the similarly-named but differently-purposed "Identifier" column), which can be used to round-trip and/or update existing artifacts in DNG by entering the correct artifact ID number in this column. When you export artifacts to a CSV file from DNG, an "id" column is included. You can use this column to correlate rows in CSV/Excel with existing artifacts in DNG upon import. If you select the option to update artifacts, the artifact is updated. This approach works for me in CLM 6.0.3. 


For more info on the "id" column, see 6.0.1 New & Noteworthy and here

For more info on the "Identifier" column, see here

1 vote


Permanent link

Hi Bob 3, It was nice seeing you at the Summit. I'm amazed that I happen to see your name here. Great answer.  


I could be wrong. I do like to add that I have the original problem also. I believe that in addition to the "id" I may need the parentBinding and module fields to be in the CSV file to prevent new instances of the artifacts to be placed in the module.

parentBinding  module
300640
300641 300640
300640
300643 300640
Have a great day.

swoo "the only guy at the conference wearing Aloha shirt :-)"

0 votes


Permanent link

 I should add that I am using 6.0.3. Perhaps this has been fixed. As soon as 6.0.5 is out I will test to duplicate my sighting. 

0 votes

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: Aug 31 '16, 9:06 a.m.

Question was seen: 4,597 times

Last updated: Nov 18 '17, 11:50 a.m.

Confirmation Cancel Confirm