![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to create new tables in the DOORS database Topic Summary: Created On: 13-Dec-2004 17:34 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Based on what you state as you goal you probably should create a module level text attribute. Write you code to the attribute or set of attributes then access the attributes when you want. Example: Module m = current | |
![]() |
|
I´m developing a little aplication that it interacts with DOORS thru a DXL layer. I want to extend DOORS database adding new tables to store mi aplication´s data there. Is there a way to add new tables and consult and write them?
Thanks! Rubén Segura |
|
![]() |
|
![]() |
|
Use the 'table' function to create tables (see the DXL manual). Tables in DOORS are implemented as a hierarchy of DOORS Objects: there is a 'top level' table object with child objects for each row, and each row object has child objects for each cell. If oT is a reference to the table object, then oT[2][3] gives you a reference to the third object of the second row. You can then access and change attribute values as for any other object. But I wonder if it really is a table you are looking for?
|
|
![]() |
|
![]() |
|
Based on what you state as you goal you probably should create a module level text attribute.
Write you code to the attribute or set of attributes then access the attributes when you want. Example: Module m = current |
|
![]() |
|
![]() |
|
I think what you're asking for is to create a new DOORS "module" (a.k.a. database table). Below is the declaration/operation from DOORS DXL Help along with an example:
DeclarationOperationCreates a formal module with name name, description desc, object prefix prefix and starting absolute number absno. The name argument can be an absolute or relative path. The optional last argument controls whether the module is displayed in the GUI after it has been created. |
|
![]() |
|
![]() |
|
thanks,
but i want to store my info internally, because the users must not have access to these dates. If i use modules this info can be acceded by the users, reason why i want to modify directly DOORS database if it is possible and adapt it to my necessities. |
|
![]() |
|
![]() |
|
Rubén,
You could apply access rights to the module(s), so no others could read them. But, if your users are running the script as themselves, the script could not read the data. You may want to look into "Configuration file access" in the DXL manual, as it allows one to create files in the database that are not normally visible to users, but are available for reading via the DXL scripting language. ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.