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: Attibutes in Tables
Topic Summary:
Created On: 17-Oct-2007 15:17
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.
 17-Oct-2007 15:17
User is offline View Users Profile Print this message


Laura Doyle

Posts: 16
Joined: 15-Sep-2004

I have been reading the forums and I have not found an answer. Is there anyway to have a table with multiple columns and then have two of the colums have a attribute that is an enumerated value. Every time I apply the attribute it puts it in every cell, not just the column. I don't know DXL, is there any workaround that does not involve DXL?

Thanks in advance, Laura
Report this to a Moderator Report this to a Moderator
 17-Oct-2007 15:24
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

I'm not sure what you're asking. You can have a DOORS table. But even Telelogic doesn't suggest you use them.

DOORS itself looks like a table. Are you just trying to set up a view?

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 17-Oct-2007 15:44
User is offline View Users Profile Print this message


Laura Doyle

Posts: 16
Joined: 15-Sep-2004

I have a table in DOORS, created in DOORS. It has 10 columns, two of the columns I would like to have enumerated attributes so users can select what Hardware they are using. If I use the table properties tabs and try to apply an atttribute it applies it to the whole table, not just that column.

I hope this provides some clarification.
Report this to a Moderator Report this to a Moderator
 17-Oct-2007 15:44
User is offline View Users Profile Print this message


Laura Doyle

Posts: 16
Joined: 15-Sep-2004

I have a table in DOORS, created in DOORS. It has 10 columns, two of the columns I would like to have enumerated attributes so users can select what Hardware they are using. If I use the table properties tabs and try to apply an atttribute it applies it to the whole table, not just that column.

I hope this provides some clarification.
Report this to a Moderator Report this to a Moderator
 17-Oct-2007 16:14
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Laura,

unfortunately you will have not much possebilities to do what you want without using DXL.

Fortunately it is very easy using DXL

(current Object).(reserved "Main Column Attribute") = "Your Attributes Name";

The above code will assign the attribute only to the currently selected cell in your Doors table.

The attached code will assign user defined attributes to table columns. You need to modify lines 23-30 to your needs.

Hope that helps you.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 16-Nov-2007 21:41
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

The attached script was presented at DOORS UGC 2007.
It needs to be in
\Telelogic\DOORS 7.1\lib\dxl\config\formalPopupFiles
It creates a right click menu that is available on cells objects only
Eash menu item under it is a attribute name that you can select and make the cell display that attribute.

Warning:
It crates a dxl file in your \dxl\addins\user\ directory for each of those attributes with a name starting with .0, .1, and so on.

Also, once used you will never be able to change the displayed table attribute, but with manual DXL. The Table Properties dialog box can not set the display attribute anymore, but only for those cell.

Octavian
Report this to a Moderator Report this to a Moderator
 16-Nov-2007 22:07
User is offline View Users Profile Print this message


Alice Brown

Posts: 14
Joined: 27-Jun-2007

Thanks, Octavian. I've been trying to run the scripts without the necessary setup you so nicely detail here.

I have a need for a table with 20 columns and 200 lines that will actually print out within the cell the Object identifier and the Text.
I can make the table....no problem.
I can even use the AGGREGATE attribute that I learned to build at the UGC to put as much info as I need into the cell.

However, I can't shrink the table down so that I can print it out.
Will I have to export it into MSWord or Excel and THEN print it out? That's what it looks like.

Also, I was told I could find all the DXL scripts from last year's exchange on the Telelogic site. But where?

Any help will be appreciated, especially since we are new to DOORS and are really needing a good set of Process Instructions for its use (e.g., no empty cells on the edge of a table imported, don't expect the cells to be the same size when they come in, etc.
Thanks
Alice Brown

-------------------------
He who would swap his freedom for the promise of security deserves neither.
Report this to a Moderator Report this to a Moderator
 16-Nov-2007 22:10
User is offline View Users Profile Print this message


Alice Brown

Posts: 14
Joined: 27-Jun-2007

Hi, Laura, I have a similar problem, in which I want information to print out for one whole row of a table, not for each cell.
To clarify, I can easily make the Object number and any other attribute print out in each cell, but I want ONLY the object number for the entire row to print out: only in one cell at the beginning of the row.
What's the answer?
I love the ability to define a New attribute of type TEXT, and by making it a DXL attribute and using the Wizard, make it have many attributes showing in each cell.
Nifty trick, I learned at the Users Conference.

-------------------------
He who would swap his freedom for the promise of security deserves neither.
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 14:45
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Hey Octavian. I meant to talk with you about that script at the UGC. I noticed in your presentation you had the hidden attributes for table properties that you would never display in a column. You can filter those out by checking that the AttrDef is not a hidden one. So make your if statement:

if((ad.module and !ad.object) || ad.hidden) continue

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 15:07
User is offline View Users Profile Print this message


Octavian Stanescu

Posts: 39
Joined: 28-Feb-2005

Thank you for the tip, this way the menu is more compact displaing only the usefull attributes.
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 19:00
User is offline View Users Profile Print this message


Alice Brown

Posts: 14
Joined: 27-Jun-2007

Hi, Octavian, You seem to be very knowledgable in this area, but here's a broadcast to all users:
I was told I could download past DXL scripts from the Exchange, and setup instructions from this site.
But I am unable to find it.
any help appreciated.
Cheers,
Alice

-------------------------
He who would swap his freedom for the promise of security deserves neither.
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 19:13
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Alice I don't believe they've posted the info from UGC07 up yet. Its usually a download thats available in the Downloads section I believe. Or it was last year.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 22:03
User is offline View Users Profile Print this message


Alice Brown

Posts: 14
Joined: 27-Jun-2007

I truly learned so much at this conference, as I expected, but trouble was also stirred up.
I was told by several veteran users en masse that we should not use the manual Drag n Drop form of linkage, but should Link by Attribute, which takes that attribute along with it.

that is indeed true, but I have to FIRST Drag N Drop, before I can get the Link by Attribute to work. And then I have to fill in that pop-up for EVERY object linkage.
Isn't there some way I could tell the DOORS software, "Look, here's my LinkSet (in Module Properties). Every time I do a 'Link by Attribute', I want you to put that link in the linkset I've already identified. What's wrong with that?
I don't think anyone needs the flexibility to put some links in another link set when we're doing the traceability work between 2 modules.

What am I doing wrong?

It shouldn't be this difficult.

-------------------------
He who would swap his freedom for the promise of security deserves neither.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.