How to apply UI policy to a catalog variable attribute ?

Honor_ Lagaza
Tera Contributor

Hello community, 

 

I am building a form, and I need to make a field mandatory when another filed's attribute (active, class or any attribute of the field) have a certain value. 

How should I proceed without scripting please ? 

 

P.S. : It is not a condition on a form field, but on the form field attribute ! 

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Honor_ Lagaza 

 

You can do the dot walk. 

 

DrAtulGLNG_0-1748526614689.png

 

 

Like in this example I want to user caller.VIP = True , in same manner you can do.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG Hi, 

 

Thanks for your reply and sorry for the delay. 

 

My point is that the dot walking is not reachable on a form I'm building. On the form I'm designing, I create a reference field, and I want to apply a UI policy on related fields of this reference field (or field attributes). I can't access these related fields to put a condition on them and create the UI policy. Can this be done without scripting please ? 

 

Thanks for your time. 

 

Best regards, 

Hono. 

Hi @Honor_ Lagaza 

Try using dot-walking like this. The “Show Related Field” option helps you perform dot-walking to reference fields.

 

DrAtulGLNG_0-1748880906131.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG , 

 

Thanks for your proposal. But this works for UI policies applied to the whole table as in your sample, not for catalog UI policies built on a form... Do you get my point please ? 

 

Thank you