Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Tony Goodman, on Monday, July 9, 2007 2:19 PM

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.
 6-Jul-2007 20:39
User is offline View Users Profile Print this message


Gigi Harrington

Posts: 2
Joined: 5-Jul-2007

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?
Report this to a Moderator Report this to a Moderator
 9-Jul-2007 08:39
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer 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.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 27-Jul-2007 14:41
User is offline View Users Profile Print this message


Lonie Kurz

Posts: 10
Joined: 18-May-2006

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?
Report this to a Moderator Report this to a Moderator
 27-Jul-2007 19:46
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.