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: Setting a different Attribute as the one to be shown in table cells using DXL
Topic Summary: Currently table cells show "Main" Column - and that can be changed manually. DXL ?
Created On: 26-Apr-2007 13:45
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 Reik Schroeder, on Monday, May 7, 2007 10:14 AM

Answer:
Hi Dan,

you can modify the displayed attribute of tables by using:
o.(reserved "Main Column Attribute") = "Name of attribute to display";

where o is the table object and "Name of attribute to display" is the attribute's name you want to see in table.

Greetings
Reik
 26-Apr-2007 13:45
User is offline View Users Profile Print this message


Dan Melamed

Posts: 5
Joined: 21-May-2006

Currently table cells show "Main" Column - and that can be changed manually.
Can that be changed using DXL ?
(Can it be changed for a spesific view ? if not, It's also ok for me to run on all objects that are either calls or rows or columns or tables and set this - just show me how ..)

Thanks

Report this to a Moderator Report this to a Moderator
 26-Apr-2007 14:05
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Answer Answer
Hi Dan,

you can modify the displayed attribute of tables by using:
o.(reserved "Main Column Attribute") = "Name of attribute to display";

where o is the table object and "Name of attribute to display" is the attribute's name you want to see in table.

Greetings
Reik

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


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 7-May-2007 10:14
User is offline View Users Profile Print this message


Dan Melamed

Posts: 5
Joined: 21-May-2006

Thanks !

Report this to a Moderator Report this to a Moderator
 6-Dec-2007 19:20
User is offline View Users Profile Print this message


Diane Cherry

Posts: 11
Joined: 22-Dec-2006

Reik, I saw youre answer to Dan but could not quite follow how this is suppose to work.
I can see how to make a table show a different attribute (other than default main column) by using the Table Properties attribute and selecting a DXL attribute I've previously created.
And I can make the table show the default value by selecting the View Table Attribute option.

Where would I use this DXL snippet to control a single cell within a table?
thanks for any clarification you can provide

note: this was referring to DOORS 8.2, haven't upgraded to 8.3 yet but will shortly
Diane
Report this to a Moderator Report this to a Moderator
 7-Dec-2007 08:23
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Diane,

I've no experience with the new feature to control table attributes by view, so I do not know exactly how it will affect the the attribute assigned to table cell.

The code snipped in my first message can be used with any cell Object in a Doors table.
I've attached a short example that will hopefully help you to understand the usage.

Greetings, have a nice weekend
Reik

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


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 7-Dec-2007 08:27
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

... additionally, you may have a look here

Grretings
Reik

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


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 7-Dec-2007 13:03
User is offline View Users Profile Print this message


Diane Cherry

Posts: 11
Joined: 22-Dec-2006

Reik,
Thank you so much for your quick response. I had no problems experimenting with your code snippet. I am a bit puzzled about where the code snippet and/or results of the DXL are actually stored for the table cell objects.
I see that the results of the DXL persist across views and edit sessions. I found I had to run a modified version and set the assignment string to null to get the table cell back to displaying the object text.

I also followed your link in your second response and will look over the DXL samples provided there - thank you again.

I did wonder if you could provide any information about where/how one can read about these DXL syntax/features. When browsing on line thru the DXL manual I wasn't able to spot anything.

Thanks again for your time and information.
Diane
Report this to a Moderator Report this to a Moderator
 7-Dec-2007 16:43
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Diane,

unfortunately I have to say that there is no documentation on this topic available.
I did heard about it from a Telelogic guy.

But you will find it in some not encrypted files of export scripts, so it is an official supported feature

BTW, you are right, it is handled like a meta attribute. This setting is done for cell Object and will be saved with saving the Object.

Greetings
Reik

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


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 10-Dec-2007 12:00
User is offline View Users Profile Print this message


Diane Cherry

Posts: 11
Joined: 22-Dec-2006

Reik, I have browsed the non-encrypted DXL files and seen some other uses of the reserved syntax. Thank you very much for your responses.
Diane
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.