How to restrict a Choice field in the Mobile Time Sheet Application

Rhonda9
Tera Expert

Hello Developers,

 

I have a requirement to hide a time card category  named " Overtime" from users with the wm_agent role in the mobile agent.  I have been able to accomplish this via Client Script but it only works for the desktop.  

I have created a mobile UI Policy but it is not giving me the results that I really want.  When an agent selects " add from category" , how can I hide the Overtime category?  I thought this would be easy but the agent have to click on the category and then I can hide field to prevent them from entering their time.  This would be okay if I can generate a message stating their  supervisor must enter overtime for them. The results I really want is for them not to see the category at all. 

 

This does nothing at all 

Rhonda9_0-1692881898652.png

 

This allow the agent to select "add to category" and it creates a blank time card and does not allow the agent to enter anything .....

Rhonda9_1-1692882771711.png

 

 

 

 

0 REPLIES 0