Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Property to fill a dynamic participant

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Hello,

 

to provide the assigment of Dynamic participants in Stylesheet, provid the following in XmlRenderingStylesheet:

 

<section titleKey="tc_xrt_AssignedParticipants" title="Projectteam">
             <command commandId="com.teamcenter.rac.assignparticipants" actionKey="assignParticipantsAction" titleKey="tc_xrt_AssignParticipants" title="Assignment of responsibles..."/>
             <property name ="xxxxx" modifiable = "true"/>
       <property name="xxxx" modifiable="true"/>
    </section>

 

Best Regards

Re: Property to fill a dynamic participant

Pioneer
Pioneer

@benjamin1

 

This may help..

participent.JPG

 

 

Thank you.

Re: Property to fill a dynamic participant

Siemens Experimenter Siemens Experimenter
Siemens Experimenter
Sorry, Expression should be like this if you want to use the OOTB participants :

<section titleKey="tc_xrt_AssignedParticipants" title="Projectteam">
<command commandId="com.teamcenter.rac.assignparticipants" actionKey="assignParticipantsAction" titleKey="tc_xrt_AssignParticipants" title="Assignment of responsibles..."/>
<property name ="epm_proposed_reviewers" modifiable = "true"/>
<property name="epm_proposed_responsible_party" modifiable="true"/>
</section>

Regards
Highlighted

Re: Property to fill a dynamic participant

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Thank you a lot @Ri1,

It's what I wanted :)

 

I have another cuestion, do you kno how restrain the participant for 2 Roles ?

 

I would like to can assign teamleader or design ingineer role to the participant but not other role.

I saw in the BMIDE this constant:2018-06-28_17h40_57.png

 

But my value is not working well, maybe syntaw error !! When I put just Teamleader its' working (but just for that role and i would like 2 roles).

 

Do you have any idea ?

 

Best regards,

 

Re: Property to fill a dynamic participant

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Hello,

 

if I understood you right, you want to limit the assignment for Proposed Responsible Party only for Teamcenter group "Teamleader" and "Design Engineer" ? This would lead to a new BMIDE condition on BO Constant "Fnd0ProposedResponsiblePartyAssignableCondition"

 

Or du you want to assign the your own dynamic participants "Teamleader" and "Design Engineer" in the Stylesheet?

Means create new Participants and new BO Constant, etc.

 

Regards

 

 

 

Re: Property to fill a dynamic participant

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi @Ri1,

 

 

iYes, I want to limit the assignment for Proposed Responsible Party only for Teamcenter ROLE "Teamleader" and "Design Engineer".

 

So I inderstand I need to use the Constant "Fnd0ProposedResponsiblePartyAssignableCondition", but in which properties ? 

In the epm_proposed_reviewers I can't see this constant.

 

Regards,

Re: Property to fill a dynamic participant

Siemens Experimenter Siemens Experimenter
Siemens Experimenter
Hello,

I guess your first solution could work, too.
As you mentioned, there is a Syntax error:

Try this pattern for BO Constant "Fnd0ParticipantEligibility"

group::role

I did not find anything for the separator Setting, so I would use "," - like you did ;)
Maybe this works.

Regards

Re: Property to fill a dynamic participant

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello  @Ri1,

 

I'm trying with the syntax group::role

 

But I have a sub-group, do you know  what is the syntax win sub-group ?

 

I tried with :

Group::Sub-group::Role1,Role2

Group,Sub-group::Role1,Role2

Group;Sub-group::Role1,Role2

Group::Role1,Role2

Sub-group::Role1,Role2

 

But it's not working.

 

Thank you in advance for your help.

Regards.

Re: Property to fill a dynamic participant

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Have you tried the dot naming scheme? SubGroup.Group::Role

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Property to fill a dynamic participant

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Thank you @RandyEllsworth,

 

Now it's better, but I have a problem with the second role.

 

It's working well with subgroup.group::role

but it's not working with subgroup.group::role1,role2

 

I tried with:

subgroup.group::role1,role2

subgroup.group::role1.role2

subgroup.group::role1;role2

subgroup.group::role1::role2

subgroup.group::role1, subgroup.group::role2

 

But none of these syntax works.

 

Do you have any idea ?

 

Regards.