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

yogesh15dd
Tera Guru

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?

find_real_file.png

Regards

Yogish

13 REPLIES 13

Julian Hoch
ServiceNow Employee
ServiceNow Employee

Take a look at the UI macro "user_show_incidents" which is used to show the popup. It should be possible to create a similar macro which shows a different UI page (which you would have to design). On this UI page you could also include controls that allow you to select a CI and update the form.


I would also check out of the box functions that do something similar, like for example the kb_category_reference_lookup macro.


hi Julian.



I created one and got it worked.



Thank you.


Yogish


Hi Yogesh,



I am working on   a similar issue. Can you please let me know how you had created your icon.



Thanks and Regards,


kishore


Hi,



Do you want to show the 'Show Caller Assets' next to the caller id field?,



if so, create a macro which is similar to 'user_show_incidents' macro (OOTB one) and reference it to the 'cmdb_ci_list', table in place of 'incident_list'.



Let me know if you need any help in doing so, i have to check my developer instance, which is hibernated now.



Thanks


Yogish


Thanks Yogesh for your input.


I had completed the task as suggested by you




On 8 Dec 2016 4:13 p.m., "yogesh15dd" <community-no-reply@servicenow.com>