List Control Omit * condition
Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
Hi there,
When working with List Controls, out-of-the-box, it looks like the Omit options are just limited to a checkbox condition, true or false. A hidden gem some of you might already know, so not completely new, out-of-the-box there are "Omit * condition" fields available! They are just not on the out-of-the-box form layout. Having conditional Omit options gives great new possibilities.
Out-of-the-box
Out-of-the-box [Orlando] the form lay-out for List Control looks like below. Only checkboxes "Omit * button" and lists "* roles" available.
Available "Omit * condition" fields
Six (6) other Omit * condition fields are available out-of-the-box:- "Omit new condition"- "Omit edit condition"- "Omit empty condition"- "Omit columns condition"- "Omit filter condition"
- "Omit links condition"
Adding the "Omit * condition" fields
… to your instance or to your company implementation best practice a.s.a.p.! More advanced conditions could be made with these condition fields, instead of being limited to the "Omit * button" and "* roles" fields.
Note: Be aware that changing the form layout does affect future patches/upgrades. If a change by ServiceNow might be done on the List Control form lay-out, this will result in a Skipped Update.
To finish off, let's just add UI Policies to hide the "Omit * condition" fields, if the associated checkbox is checked. Below an example for "Omit new condition".
---
And that's it actually. Hope you like it. If any questions or remarks, let me know!
Kind regards,
Mark Roethof
ServiceNow Technical Consultant @ Quint Technology
1x ServiceNow Developer MVP
1x ServiceNow Community MVP
---
https://www.servicenow.com/community/developer-articles/list-control-omit-condition/ta-p/2320394
