Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello my name is Giorgio, I need to retrieve all team and team template related to a Product using Windchill Java API.
Does ayone already faced this task ??
Thank you
If you are looking to get the Context team use, ContainerTeamHelper
WTContainer container=epmd.getContainer() ;
ContainerTeam CTeam=wt.inf.team.ContainerTeamHelper.service.getContainerTeam((ContainerTeamManaged )container);
If you are looking to get the team of an object use TeamHelper
wt.team.TeamHelper.service.getTeam( (wt.team.TeamManaged) epmd);
Refer to PTC Java Doc for more information on these APIs http://support.ptc.com/cs/wncdoc/102/wcapi/wt/inf/team/ContainerTeamService.html#getContainerTeam(wt.inf.team.ContainerT… and http://support.ptc.com/cs/wncdoc/102/wcapi/wt/team/TeamService.html#getTeam(TeamManaged)
Thank you Binesh it's work !!