Skip to main content
1-Visitor
May 6, 2015
Question

How to add Role in the Team

  • May 6, 2015
  • 3 replies
  • 1529 views

Hello,

I am working on one utility where I need to add Role in team as of now I am not able to add empty role in the team using

TeamHelper.service.addRolePrincipalMap(roleTarget, principalRef.getPrincipal(), team );

can you help me to identify how I can add roles in the team

3 replies

12-Amethyst
May 6, 2015

Unless I'm misunderstanding what you're attempting, I do it through Browse (next to the search tab) > [Recent] Product > expand the Context node > Team page > Actions menu > Add Roles.

Neo1-VisitorAuthor
1-Visitor
May 6, 2015

Hello Don,

Thank you for your reply will it be possible if you can share the Windchill API with me which add Role to Business object Team since I am trying to add the role through the workflow side.

12-Amethyst
May 6, 2015

I don't have that at hand. I do remember there was something in the knowledge base about doing what you ask. I know the knowledge base has been much worse at finding things since the upgrade so this isn't a great answer. Hopefully another admin has that information available more quickly.