In the mobile app - What is the best way to remove a choice from a choice list?

Jack Hoblyn
Tera Contributor

I'm currently optimising a form in the mobile app in Studio and need to do what appears to be client side scripting.

 

In the app on Work Order Tasks, the user presses a button and a list of options come up. I would like to hide an option or two from that list on mobile.

 

In desktop view it would be a UI Policy or Client Script with:

 

g_form.removeOption('u_on_hold_reason', 'risk_assessment_failed');

 

However I cannot find anywhere to place such a script in mobile app as it appears there is no client side scripting options.

 

Does anyone know an alternative solution?

 

 

5 REPLIES 5

@Jack Hoblyn I am not aware of your entire scenario but can you go with below:

 

1. Create a new field without those values and hide it on desktop.

2. Make it visible on mobile.

3. Write your logic on mobile based on that field.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn