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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to add Role in the Team

Neo
7-Bedrock
7-Bedrock

How to add Role in the Team

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 3
DonSenchuk
12-Amethyst
(To:Neo)

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.

Neo
7-Bedrock
7-Bedrock
(To:DonSenchuk)

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.

DonSenchuk
12-Amethyst
(To:Neo)

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.

Announcements


Top Tags