Skip to main content
1-Visitor
February 13, 2017
Question

Manage Product using Windchill Java API.

  • February 13, 2017
  • 1 reply
  • 2020 views

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

1 reply

1-Visitor
February 13, 2017

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)

gfontana1-VisitorAuthor
1-Visitor
February 14, 2017

Thank you Binesh it's work !!