![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: How to implement slide 37 and 38 of Pam Young? Topic Summary: I cannot find descriptions how to .... Created On: 11-Apr-2005 20:20 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I want to test: - tasks may not be be completed without a CR - info_attrs to specify other attributes - if info_attrs on a project object can now also show attributes added to a project - specify mandatory field for a task (other than release and description) Could somebody point me to the right sections in the documentation for it? I cannot find it in the online help pages. Thanks very much! Jaap |
|
![]() |
|
![]() |
|
To specify that an attribute is required on an object, edit the "required_attributes" attribute on the type object. This is described in the CLI online help, on the "required_attributes" page, in the "Default Options" subsection of the "Default Settings" section. To set the required attributes for tasks, you'd edit the "required_attributes" attribute on the task type object (base/cvtype/task/1).
To make a change request required, add the pseudo-attribute, "change_request" to the required attributes for the task type. To add a user-defined attribute to the Properties dialog, edit the "info_attrs" attribute on the object's type object. The syntax for info_attrs is one or more lines of the following format: attr_name:attr_type[:[label][:#textlines]] or attr_name:attr_type[:[label]:[#textlines]:values_ref] where values_ref is the name of another attribute (on the type object) that contains a newline-separated list of possible values for the attribute. These possible values (in values_ref) will be used by the Java Client in the Properties dialog, as a choice list for the atttribute that is specified. For example, to add an attribute called "reltype", of type "string", with a label (in the Properties dialog) of "Release Type", for type "project", add the following line to the info_attrs attribute on the project type: reltype:string:Release Type |
|
![]() |
|
![]() |
|
Thanks very much Steven!
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.