Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Import CSV in Shared Mode and only update objects
Topic Summary:
Created On: 22-Jul-2007 11:08
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 22-Jul-2007 11:08
User is offline View Users Profile Print this message


Jörg Werner

Posts: 24
Joined: 29-Jul-2005

Hello, we have the following usecase: We have divided our test module (using the Test Run feature) in chapters. The testresults for chapters are available in different csv Files (Columns are doorsid and Testrun attributes). Now we want to import the test results. With the standard DOORS import functinality two problems occur: 1) It is necessary to import in exclusive mode. But because the module is used by many people during normal working hours, it is difficult to get exclusive rights. That means import in shared mode, locking only the import chapter, is required. 2) We really want only to UPDATE. If there is an error in the csv file, i.e. a doorsid is mentioned which is not available, it is required that NO new object is created. Is already a solution available? Or do we have to write our own import (okay, maybe only to modify the available scripts:-)) Thanks and kind regards, Jörg
Report this to a Moderator Report this to a Moderator
 23-Jul-2007 08:43
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Just an idea, but I would import the csv in a new module and use DXL to update the original module. The latter could be done in shared-edit, and you could easily check e.g. for ID numbers not existing in the original module, etc..

Regards,

Peter
Report this to a Moderator Report this to a Moderator
 23-Jul-2007 17:13
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

You'll probably just have to write your own. But you could just take the existing import script, modify it to when it goes to see if an object exists with the key you selected, to lock the object. If you don't find an object with that key, just end the import. Wouldn't take too much work. Of course, that import script is so full of show statements instead of using block/release its ridiculous.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.