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: remove attachment from CR
Topic Summary:
Created On: 6-Apr-2006 08:30
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.
 6-Apr-2006 08:30
User is offline View Users Profile Print this message


Ronen Ben-Chamo

Posts: 84
Joined: 1-Dec-2005

Hi,
Can I remove attachment from CR and load new attachment to CR by CLI?

Any Ideas?
Thanks,
Ronen



-------------------------
Ronen Ben-Chamo
Configuration Managment
Report this to a Moderator Report this to a Moderator
 23-May-2006 15:41
User is offline View Users Profile Print this message


Mike Sheffels

Posts: 1
Joined: 17-Sep-2002

I can help you with the deleting part.

Change Synergy saves attachments as read only files associated with the change record (CR , WR, or PR in our current system).

The files are stored as "attachment_problemNumber~1:binary:1" where problemNumber is the change record number, ~1 is the version of the file (always 1 because there is no update mechanism), binary is the type of the file, and :1 is the instance number. If there is more than one attached file for a change record, only the instance number will be different.

To delete an attachment:

1) Set your role to ccm_admin
1) Use CM Synergy to query for the name *attachment_problemNumber*'

ccm query "name match '*attachment_1525*' " (change record number is 1525)

3) select the file from the query results and delete it. The change Synergy association is automatically removed.

ccm delete @row_number where row number is the row of the item returned from the query.

4) set your role to something besides ccm_admin

To add items as attachments you'd need to figure out what relation is used between the problem and the attachment. Once that's figured out, just use the CLI to make the relationship between the objects you want and the appropriate problem record in the database. The instructions for deleting the attachment(s) gives the naming structure that is used in the tool. You might have to replicate it exactly to get your additions to work properly in all of the html windows and reports.
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.