![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.