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: Automate attribute values
Topic Summary:
Created On: 2-Jun-2008 05:02
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.
 2-Jun-2008 05:02
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

Hello!

I have the following requirement.
There is an attribute definition called 'Category' which has a set of values, 'A', 'B' & 'C'. There is a second attribute definition called Sub-Category which has its own set of values.

I would like the User to see the values in the Sub-Category based on Category chosen . For eg. a Requirement falls into Category 'A', the subcategories could be 'A1','A2','A3' etc. Although Sub-Category definition has values like, 'B1','B2','C1,'C2' etc, for the ease of user, he must be able to see only 'A1,A2..' when the chosen category is 'A'.

Is there any easier way to achieve this? Above is what I could think of, but if someone has implemented this someway, I would be glad to take a tip.
Report this to a Moderator Report this to a Moderator
 2-Jun-2008 10:17
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

You might want to have a look at Tony Goodman's script here.

Regards,

Peter
Report this to a Moderator Report this to a Moderator
 3-Jun-2008 05:18
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

I checked Tony's script. I was wondering if I can have a DXL attribute rather than module menu. Category is a single-valued DXL attribute & Sub-Category is a multi-valued DXL attribute in my case. Any suggestions are most welcome.
Report this to a Moderator Report this to a Moderator
 3-Jun-2008 07:22
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

Or in other words, is it possible to have a Column display values of more than 1 attribute based on some condition (like the value of another attribute displayed in another column)?
Report this to a Moderator Report this to a Moderator
 3-Jun-2008 10:03
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

I modified Tony's script such that the sub-category can now be multi-valued. I replaced the choice DBE by a listViewDBE with checkboxes.

As regards your second post, displaying values of more than 1 attribute, based on some condition, of course that is possible with layoutDXL. But if you want the user to modify the attribute values, there is no way other than a dialogue box.

DXL attributes are also no option here, as those update automatically, thereby also not allowing the user to select individual values.

Cheers,

Peter
Report this to a Moderator Report this to a Moderator
 3-Jun-2008 10:34
User is offline View Users Profile Print this message


Sheela Roy

Posts: 24
Joined: 30-Dec-2007

Thank you very much, Peter.
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.