![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: remove attachment from CR Topic Summary: Created On: 6-Apr-2006 08:30 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
Can I remove attachment from CR and load new attachment to CR by CLI? Any Ideas? Thanks, Ronen ------------------------- Ronen Ben-Chamo Configuration Managment |
|
![]() |
|
![]() |
|
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. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
remove attachment from CR
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.