![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Display CP Proposed Object Text in Column using DXL Topic Summary: Need instruction on accessing the Proposed Object Text attribute Created On: 6-Jul-2007 20:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: You may have the wrong name for the attribute. It is not prefixed with "CP Attr - " as the other attributes are, but is simply "Proposed Object Text". Attached is some layout DXL code I wrote to do this a while back. | |
![]() |
|
I'm a newbie to DOORS and DXL, so I apologize if this is an obvious question, but I haven't found anyone asking it in the forums.
I'm trying to alter layout DXL "Change Proposal Information" to display the Proposed Object Text next to each object with a change proposal. But I can't figure out how to address the Proposed Object Text attribute. I have a feeling it's in a different module than the other CP Attr's, but have no idea where to find the reference. Has anyone else done this? The current code uses the following: display "Change Type: " probeAttr_(oProposal, S_ATTR_CHANGE_TYPE) display "Priority: " probeAttr_(oProposal, S_ATTR_PRIORITY) display "Status: " sStatus display "Reason For Change: " probeAttr_(oProposal, S_ATTR_REASON_FOR_CHANGE) I tried just adding another line: display "Proposed Text: " probeAttr_(oProposal, S_ATTR_PROPOSED_OBJECT_TEXT) but that doesn't work. Any ideas? |
|
![]() |
|
![]() |
|
You may have the wrong name for the attribute. It is not prefixed with "CP Attr - " as the other attributes are, but is simply "Proposed Object Text".
Attached is some layout DXL code I wrote to do this a while back. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
I am also trying to do this. In addition to the Proposed Text I would also like to have the Reason for Change displayed. I tried to used the code listed above, but I did not get any results. I am a beginner at this so please forgive me if I ask obvious questions! This code should be entered as a Layout DXL for a new attribute, correct?
|
|
![]() |
|
![]() |
|
Lonie,
You need to read the manual for Layout DXL vs. Attribute DXL. Layout DXL is DISPLAY only. Attribute DXL actually saves the value in the display to an attribute. You probably want Layout DXL and should avoid attribute DXL. Insert>Column and choose Layout DXL. You can then paste that code in or browse the library for some examples. ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.