cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Manage Product using Windchill Java API.

gfontana
8-Gravel

Manage Product using Windchill Java API.

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

2 REPLIES 2

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 !!

Top Tags