Add a "Show Caller Assets" icon next to Configuration Item similar to the "Show Related Incidents" icon next to caller).?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 04:03 AM
Hi ,
I have a requirement where in i have to add a "Show Caller Assets" icon next to Configuration Item that will display assets associated to the Caller (similar to the "Show Related Incidents" icon next to Caller field). Clicking on one of the assets in the list should populate that asset it to Configuration item field on the form.
Basically what i have observed is, using the "Show Related Incidents" when we click on one of the incidents in the list, it will take us to that incident form.
Will we be able to populate this selected value to the Configuration Item field on the form? or we have to use the reference qualifier only for Configuration Item field?
Regards
Yogish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 04:09 AM
If you want user to select only the assets that belong to him, why don't you simply change the reference qualifier of the field? Do you really need a fancy icon to do this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 04:15 AM
"First user wants to select some random CI from the Configuration Item field, then he clicks on the "Show Caller Assets", and he selects from one of the available CI's belong to him", this is the requirement.
Can we actually populate the CI from that list in to the field when we click?
Regards
Yogish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 04:27 AM
Is the random CI like a fail-safe CI that is common to all? If that is the case, you can still include that in reference qualifier.
I am not sure how to do the onclick one but it should be possible as it works for normal reference field pop up.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 05:00 AM
Random CI could be any CI from the cmdb_ci table. Yeah, even i'm doubting is this really possible!.