Caller's Configuration Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2011 07:04 AM
Hello all,
When registering new incident, I choose Joe Employee as a caller. Now, when I choose configuration item (magnifing glass) I would like to get a list of Joe's CI, not all CI in cmdb. Can you please tell me how can I set it?
In Configuration Management application i choose one example computer record (*JEMPLOYEE-IBM - that's demo data) and set Joe as a person:
* assigned to
* managed by
* owned by ...
any of these values didn't make CI list narrowed to Joe's computer when I register new incident.
How can I set it?
AB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2011 12:36 PM
http://wiki.service-now.com/index.php?title=Reference_Qualifiers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2011 01:20 AM
Thank you 🙂
That's what I need !
AB.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2011 05:35 PM
I had a customer ask the same question,so I created a UI Macro for this. I needed to do 2 things.
1. Create the UI Macro ( I used the incident table for my example)
Name: user_show_ci
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:evaluate var="jvar_guid" expression="Packages.com.glide.util.Guid.generate(this);" />
<j:set var="jvar_n" value="show_assets_${jvar_guid}:${ref}"/>
<g:reference_decoration id="${jvar_n}" field="${ref}"
onclick="showRelatedCI('${ref}'); "
title="${gs.getMessage('Show related assets')}" image="images/icons/product.gifx"/>
<script>
// show related list
function showRelatedCI(reference) {
var s = reference.split('.');
var referenceField = s[1];
var v = g_form.getValue(referenceField);
var w = new GlideDialogWindow('show_list');
w.setTitle("Related Assets");
w.setPreference('table', 'cmdb_ci_list');
w.setPreference('sysparm_view', 'default');
var query = 'assigned_to=' + v;
w.setPreference('sysparm_query', query);
w.render();
}
</script>
</j:jelly>
2. I had to update the dictionary entry on the Caller field (caller_id). to add the following attribute, ref_contributions=user_show_ci
If the attribute field on the dictionary entry already has a "ref_contributions" you just need to separate them with a semi-colon (ref_contributions=user_show_incidents; user_show_ci).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2021 11:27 PM
Very helpful. thank you very much. My coding is not great and I searched far and wide until I found this.