Xanadu - How to modify Caller information in Record Information sidebar in SOW?

gjz
Mega Sage

I am really stuck on this one.  I need to change the Caller information that is displayed in the Record Information contextual sidebar but I can't find anything for Xanadu or Yokohama; everything I find is completely different from how it exists today.

 

All I want to do is replace the Title and Time Zone with Department and Division.  Can someone detail the steps for me, please?

gjz_0-1745334898361.png

 

1 ACCEPTED SOLUTION

MitchellL
ServiceNow Employee
ServiceNow Employee

Hi @gjz,

That script include helps gather the info while a client script named 'CallerContactField' (also in the same UIB page) presents it.  You will want to remove the tz data there so there's no undefined returned and then substitute title info with your custom u_division table.  

For consistency you will probably want to update the 'Aggregate New Card Info' client script as well or else (if you create a new interaction by hand) you will see the oob version of the card still after filling the opened for field.

 

Disclaimer: Test this thoroughly in case it has unintended side affects elsewhere as I don't officially support any of the changes by making this suggestion. You will need to maintain this deviation from baseline moving forward and making sure it still works on upgrade. For our official policy see: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0553407

 

Hope this helps!

View solution in original post

6 REPLIES 6

Sujatha V M
Kilo Patron
Kilo Patron

@gjz Record information page uses a data resource "Record Information" which calls the script include. 

 

SujathaVM_1-1745824269957.png

 

The above information which you looking for/trying to modify comes from the "SOWIncidentInfoSNC" script include which holds a function "getCallerInfo" and its is actually a read only file. 

 

SujathaVM_0-1745824060444.png

You might need to override the function using editable script include "SOWIncidentInfo" provided by ServiceNow. 

 

Results :  Commented the syntax used for "Department" and the caller card displays without it. 

SujathaVM_2-1745824435668.png

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Thanks for the information, but it appears to be only part of the solution.  When I comment out the section you listed, it still displays a time and undefined time zone.  When I replaced the unwanted fields with my custom fields, it didn't display.  My assumption is the card fields are defined in a different location, but where?

 

gjz_0-1747263371554.png

gjz_1-1747263399579.png

 

 

@gjz  Let me check on it for you! 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Thanks so much!