get component names
![]()
Ariel Ramirez (1●2●4)
| asked Jul 31 '13, 8:44 a.m.
retagged Aug 14 '13, 12:27 p.m. by Te-Hsin Shih (285●4)
hey does anybody now a way for my follow up plugin (server side) to obtain the name of the components which the changes are being delivered to
|
One answer
![]()
A change set (IChangeSet) has a method, getComponent(), which returns the IComponentHandle for that change set.
You will need to resolve the handle into an IComponent where there is a getName() method. One way to resolve the handle is through IItemManger (available from the ITeamReposiotry) and calling getSharedItemIfKnown. |
Comments
Can you provide a code sample of what you have so far?