The CreatorCon Call for Content is officially open! Get started here.

Is it possible to make a UI action visible to only the user in a certain field? (Tokyo)

C_dric Chen
Tera Contributor

Greetings, everyone.

 

截圖 2023-01-03 16.26.23.png

I'm addressing a business requirement that one particular UI action must be visible only to the user in the "Assigned to" field, but not to anyone else. Would anyone be kind enough to give me some guidance on what I should put in the "Condition" field of this UI action?

 

Thank you in advance

4 REPLIES 4

Saurabh Gupta
Kilo Patron

Hi,

 

You can put condition in your ui action 

 

current.assigned_to=gs.getUserID();

 

 

 


Thanks and Regards,

Saurabh Gupta

Saurabh Gupta
Kilo Patron

Hi,

 

 


Thanks and Regards,

Saurabh Gupta

Nootan Bhat
Kilo Sage

Hi @C_dric Chen 

You can use this condition:

current.assigned_to== gs.getUserID();

 

Let me know if it helped.

 

Thanks,

LaoJuntasa
Tera Contributor

I think this is possible, my UX brother designs one and actually got it to work in the way you said it was. im gonna ask him about it and see how he actually got it up and running. this is why I believe that we can all understand that the designs must actually collaborate with the UI workers as well