- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:55 AM
Hello, I am trying to get a multi-line field to appear on a catalog item when a user selects yes to a question on another field. Does it require UI Policy or UI Action? The question specifically is: Is Cabling Required? Y/N. If Yes is selected, “Explain Cabling Requirement” field appears.
Thank you for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:57 AM
UI policy , it is used to filed hide , mandatory & read only.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:59 AM - edited 03-12-2024 08:00 AM
Hi @DeIvory Gordon ,
You can use UI policy and ui policy action,
In condition write Is Cabling Required? is yes
in Ui policy action make "Explain Cabling Requirement" visible true
Note: make reverse if false true
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 08:02 AM
Hi @DeIvory Gordon ,
Yes, you can configure the Catalog UI Policy with condition applied on "Is Cabling Required", and UI policy action for "Explain Cabling Requirement", visibility true.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 08:02 AM
UI policy is used to control field visibility or mandatory values.
You could for example create a UI policy with condition "Cabling Required is Yes" then add UI Policy action where the selected field is "Explain Cabling Requirement" and visible to true. By default the UI Policy has option "reverse if false" on. This option makes it so that any UI policy actions are reversed if the UI Policy condition returns false.
So if you set the field to be visible then it will also be hidden if the policy condition is false.
You can achieve the same using Client Script, but UI Policy is simpler in this case
UI Actions are used to perform actions. For example UI action could update related records change field values. For example you could have a UI action that creates a task record or one that will assign the record to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 08:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:57 AM
UI policy , it is used to filed hide , mandatory & read only.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 07:59 AM - edited 03-12-2024 08:00 AM
Hi @DeIvory Gordon ,
You can use UI policy and ui policy action,
In condition write Is Cabling Required? is yes
in Ui policy action make "Explain Cabling Requirement" visible true
Note: make reverse if false true
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 08:02 AM
Hi @DeIvory Gordon ,
Yes, you can configure the Catalog UI Policy with condition applied on "Is Cabling Required", and UI policy action for "Explain Cabling Requirement", visibility true.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 08:02 AM
UI policy is used to control field visibility or mandatory values.
You could for example create a UI policy with condition "Cabling Required is Yes" then add UI Policy action where the selected field is "Explain Cabling Requirement" and visible to true. By default the UI Policy has option "reverse if false" on. This option makes it so that any UI policy actions are reversed if the UI Policy condition returns false.
So if you set the field to be visible then it will also be hidden if the policy condition is false.
You can achieve the same using Client Script, but UI Policy is simpler in this case
UI Actions are used to perform actions. For example UI action could update related records change field values. For example you could have a UI action that creates a task record or one that will assign the record to you.