![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Retrieve deleted attribute data Topic Summary: Created On: 8-Aug-2006 19:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: [1] You can create a second database via the "doorsd.exe minstall" option in the install manual. Point to some file location. It should start empty. Copy the latest backup to that location. Create a new DOORS icon on the server, using the icon's "target" to point to the backup database, perhaps "... doors.exe -d 37777@MyServer". Open the module, create a view featuring only the Object ID and the attribute in question. Export to Excel. Close this database. Open the live database, edit the module, create the attribute, then import the spread sheet. [2] Know that the History of the attribute still exists. If the attribute recorded History (which is likely) you can also do this: Edit the module, create the attribute. Write a DXL that looks something like the attached. If you've renamed the attribute then its gets a tiny bit stickier. - Louie | |
![]() |
|
Someone has mistakenly deleted an attribute from a module. Unfortunately there were no baselines for tis particular module and on this particular day, no backups were made. Does anyone know or can point me in a direction to attempt to retrieve the data for the objects in the module that the particular attribute contained?
Thanks! |
|
![]() |
|
![]() |
|
[1] You can create a second database via the "doorsd.exe minstall" option in the install manual. Point to some file location. It should start empty. Copy the latest backup to that location. Create a new DOORS icon on the server, using the icon's "target" to point to the backup database, perhaps "... doors.exe -d 37777@MyServer". Open the module, create a view featuring only the Object ID and the attribute in question. Export to Excel. Close this database. Open the live database, edit the module, create the attribute, then import the spread sheet.
[2] Know that the History of the attribute still exists. If the attribute recorded History (which is likely) you can also do this: Edit the module, create the attribute. Write a DXL that looks something like the attached. If you've renamed the attribute then its gets a tiny bit stickier. - Louie |
|
![]() |
|
![]() |
|
# 2 was the fix in this case, though I had to make a few modifications as the attribute type was of Date type.
Once Again, Thanks for all your help! |
|
![]() |
|
![]() |
|
I tried using this code on a test module by deleting an attribute which has text values. I created the deleted attribute again with the same name. By running the code, the text values are restored but in the rich text format with all tags and other info. I am not able to get rid of the tags etc and get the normal text format. May be I have to construct a function like 'dumpAllInfo'. Will someone please give me a lead how I can do it? |
|
![]() |
|
![]() |
|
I don't recall who found this, possibly Tusky, but you can retrieve raw text from History as follows:
string oldV = hs.plainOldValue // instead of hr.oldValue string newV = hs.plainNewValue // instead of he.newValue - Louie |
|
![]() |
|
![]() |
|
Thanks, that worked. I am wondering where all such properties for History are listed. I do not find them in the DXL manual.
- Krishna |
|
![]() |
Telelogic DOORS
» Administration
»
Retrieve deleted attribute data
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.