![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Copying DXL attributes... Topic Summary: How to copy DXL attributes values? Created On: 20-Aug-2008 12:16 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I created a dxl attribute to display the absolute number and the module name and path. I'm using the Copy objects tool and i want to be able to freeze the value from the DXL attribute in the source module and be able to copy it into the target module. I know that if i create the links i'm going to be able to get info from the source module, but since I'm not sure that the user is going to create links between the modules I wanted to do it without links.
Any way a dxl attribute can be converted into text type. I'm looking for something like in excel when you have a formula you can copy the values. Thanks. |
|
![]() |
|
![]() |
|
You want to copy the DXL attribute values to another module?
Without any DXL script: - first copy internally the attribute values from your DXL attribute to a normal text attribute by using the Copy Attributes tool (Tools / Functions / Copy Attributes) - and then copy the text attribute along with other selected attributes with the Copy Objects tool ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
How about creating the DXL attribute using a script and then copy them in the same module to later copy them to another module?
This is my sutation; I have 5 old requirement modules that are going to be use to create one big requirement module. The person is asking me to look for a way to create two attributes in the 5 modules and then copy part of those modules with the attributes. I created the attributes and copy them in the same module to maintain the value from the DXL attribute script. Now i want to automate this process, but I don't have many resources that show me how to create a dxl attribute. I got this one, AttrDef ad = create object type "String" attribute "Source Module" //- dxl "string s = fullName(current Module)\nobj.attrDXLName = s" but I need this one also, AttrDef ad = create object type "Integer" attribute "Source Absno" //- dxl "obj.attrDXLName = obj."Absolute Number" "" " this one is failing but i don't know why. |
|
![]() |
|
![]() |
|
The quotes around 'Absolute Number' need to be escaped to be part of the string; as do the two double quotes that are side-by-side. That would make it look like:
dxl "obj.attrDXLName = obj.\"Absolute Number\" \"\"" - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Copying DXL attributes...
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.