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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Manage Product using Windchill Java API.

gfontana
9-Granite

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
BineshKumar1
13-Aquamarine
(To:gfontana)

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

Announcements

Top Tags