How is menu history populated? (sys_ui_navigator_history & can I change the values used?)

petercawdron
Kilo Guru

As you can see below, the history context contains the table name and short description for incidents but not for human resources. Does anyone have any idea where this is set? I thought it might be sys_ui_title but that only appears to affect values displayed on mobile devices and not within regular ServiceNow

find_real_file.png

If possible, I'd like to avoid any additional business rules to grab the short_description. This has to be set somewhere (and in the absence of anything specific defaults to number)

Thanks.

1 ACCEPTED SOLUTION

dannyk
Tera Contributor

Contrary to the above advice, it seems it is possible to modify it, as I've just encountered a case where it has changed so that the Description field for the table now is getting the wrong values written to it (location and stuff, instead of short description).

So - I'm trying to figure out what has been changed to make this happen - but I'm scunnered due to the lack of information relating to how this actually works..

Sadly I've not got a fix for you - but I'd certainly be interested in this info myself!

View solution in original post

8 REPLIES 8

The link says, it is created by system. So I don't think, we will have access to modify it. I wouldn't update it, but if you would still want to change, you could try an asynch BR.

 

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/navigation_and_ui/task...


Please mark this response as correct or helpful if it assisted you with your question.

dannyk
Tera Contributor

Contrary to the above advice, it seems it is possible to modify it, as I've just encountered a case where it has changed so that the Description field for the table now is getting the wrong values written to it (location and stuff, instead of short description).

So - I'm trying to figure out what has been changed to make this happen - but I'm scunnered due to the lack of information relating to how this actually works..

Sadly I've not got a fix for you - but I'd certainly be interested in this info myself!

I fixed this by creating a new entry in the sys_ui_title table (sys_ui_title.list from the nav bar).

Select the table you want to "fix" (assuming it isn't already in this list) and choose the field you want to show into the "fields" selection. No script required.

peter_cawdron_p
Giga Expert

Yes, you're right, this table does control it... in the scenario I was dealing with the customer had used a database view in the module link which faked me out, once I pointed this at the actual underlying table it worked fine.