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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to add a "Actor" role in team template xml file.

NP_9998831
5-Regular Member

How to add a "Actor" role in team template xml file.

Hi,
Any inputs on adding a "Actor" role in team template xml file..
tried the below scenerio but failed to add the role.

<!DOCTYPE NmLoader SYSTEM "standard12_0.dtd">
<NmLoader>
<csvTeamTemplateBegin handler="wt.team.LoadTeam.createTeamTemplateBegin">
<csvname>Doc Owner Team</csvname>
<csvdescription>Doc Owner Team</csvdescription>
<csvfolderLocation>/System</csvfolderLocation>
<csvenabled>true</csvenabled>
</csvTeamTemplateBegin>
<csvRoleHolder2 handler="wt.team.LoadTeam.createRoleHolder">
<csvroleToAssign>OWNER</csvroleToAssign>
<csvassignedPrincipal/>
</csvRoleHolder2>
<csvActorHolder2 handler="wt.team.LoadTeam.createActorHolder">
<csvassignedActorRole>Creator</csvassignedActorRole>
</csvActorHolder2>
<csvTeamTemplateEnd handler="wt.team.LoadTeam.createTeamTemplateEnd"/>
</NmLoader>

 

 

1 REPLY 1
Fadel
22-Sapphire I
(To:NP_9998831)

Hi   ,it is certainly failing with uniqueness exception , this is expected the createTeamTemplate, it is only for creating it does not update existing .

if this not the case , what is the error shown in logs 

Fede
Top Tags