Understanding Field Behavior
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 09:35 AM
Hello,
I'm trying to have a better understanding of the various "moving pieces" that are involved with defining the behavior of a field on a form and how everything works together.
For example, we have a standard/out-of-the-box Caller field on our incident form that references the User table. When the field is populated with a value, two small icon buttons display to the right of the Caller field, but they disappear when the field is empty. I'm assuming a UI Policy is a factor in showing or hiding the two buttons, but I'm not sure I understand what or where the UI Policy is defined or where I can view more information in respect to the buttons and the caller field.
Diving a little deeper into the buttons associated with caller field with focus on only one of them, the 'Show related Incidents'. This button displays a popup a of a list containing incidents submitted by the user referenced by the caller field. What are all the "moving pieces" that make this happen? I understand there is an attribute defined for the field of 'ref_contributions=user_show_incidents' that involves the user_show_incidents UI Macro, but I still don't understand the big picture. Is there an easy way someone could explain a high level overview of the standard/out-of-the-box Caller field's behavior? End goal of all of this would to replicate something similar for the configuration item field for viewing all related incidents submitted for that CI.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 12:15 PM
Yes, these two icons only work on reference fields. If there is no value, they show as blank, which is the expected behavior. I am not sure how much this is doable, here is a reference post of you
But you can check how many incidents has been logged on a CI, go to CI and add the related list Incidnet on CI form and you are done.
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]
****************************************************************************************************************