Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: how can I use the "task's number" as keyword ?
Topic Summary:
Created On: 16-Aug-2007 09:41
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
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.
 16-Aug-2007 09:41
User is offline View Users Profile Print this message


Gregory Papaseit

Posts: 5
Joined: 30-Aug-2005

Dear All,

I have a question about keywords in CM Synergy : how can I use the "task's number" as keyword ?


Keywords are used to automatically embed information in a file, such as owner, create time, etc.

To add new keywords, you have to do :
1.  CM session running with your role set to ccm_admin.
2.  Query for the object type in the database
    ccm query -t attype -n ascii
3.  Use the ccm attr command to modify the keywords attribute of the ascii attype object returned from the query.
    ccm attr -m keywords @
4.  Add a line for the new keyword.
    Example:
    release                   release
5.  Restart your CM session for the changes to take effect

The example with the "release" keyword work very well but I don't know how I can  use the "task's number" as keyword. I tried "task", "task_number", "tasknumber" ... but it doesn't work.

Thanks,
Grégory.

Report this to a Moderator Report this to a Moderator
 17-Aug-2007 06:02
User is offline View Users Profile Print this message


David DAmico

Posts: 7
Joined: 27-Apr-2004

Grégory,

The problem is that the keywords have to attributes of the file. The task_number attribute is not an available attribute of the object so it will never expand.

You can get the associated task of an object using the "is_associated_task_of('object_id')", but I don't think the keyword file will expand a query. You could add the attribute to each object version using a trigger, but it would be tricky to handle an object associated to more than 1 task.



-------------------------
Dave D'Amico
Vice President of Technology
Beacon Associates Inc.
900A South Main St - Suite 102
Bel Air, MD 21014
(401) 575-0138
ddamico@beaconassociates.net
Report this to a Moderator Report this to a Moderator
 21-Aug-2007 08:59
User is offline View Users Profile Print this message


Gregory Papaseit

Posts: 5
Joined: 30-Aug-2005

David,

Thanks for your response. So I have to use a trigger... It's a shame :-(

Grégory.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
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.