Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Nav bar disappears when opening an item in a new tab

StephenL1
Tera Contributor

Hi there!

I'm not sure if this is a known bug or not, but wanted to flag in case anyone knew a config change that could fix it.

 

When ctrl-clicking(opening in a new tab) on a link in ServiceNow, the Nav bar always disappears completely. Basically have to reopen the instance on a difference page or change the url to get the correct UI showing.I'll include pictures here to explain a bit better.

Ctril+click the incident link below:

/incident.do?sys_id=016ac075db226410de87eeb35b9619b2&sysparm_record_target=incident&sysparm_record_row=1&sysparm_record_rows=107&sysparm_record_list=assignment_group%3Dcf8a8c450c9d7000945aba83678f3374%5Eincident_stateNOT+IN6%2C7%5Eshort_descriptionDOES+NOT+CONTAINMessage+notification%5Ecaller_id%21%3D54824a39db61c090b6c855384b96191d%5EORDERBYcategory

find_real_file.png

 

 

 

 

Where as just clicking it brings us here

nav_to.do?uri=%2Fincident.do%3Fsys_id%3D016ac075db226410de87eeb35b9619b2%26sysparm_record_target%3Dincident%26sysparm_record_row%3D1%26sysparm_record_rows%3D104%26sysparm_record_list%3Dassignment_group%3Dcf8a8c450c9d7000945aba83678f3374%5Eincident_stateNOT%2BIN6,7%5Eshort_descriptionDOES%2BNOT%2BCONTAINMessage%2Bnotification%5Ecaller_id!%3D54824a39db61c090b6c855384b96191d%5EORDERBYcategory

find_real_file.png

6 REPLIES 6

Brilliant, it's alot better than the Framerizer extension although I had to modify it a bit as the browser auto converts the above link.

This is the link I bookmarked:

Name: Add SN Frame

URL entered (how you should enter the URL when creating bookmark):

javascript:if(window.location.href.indexOf('/nav_to.do?uri=') === -1) {window.location.href = 'https://' + window.location.href.replace('https://','').replace('/','/nav_to.do?uri=/');}

URL converted by browser (don't enter the URL like this):

javascript:if(window.location.href.indexOf('/nav_to.do?uri=%27) === -1) {window.location.href = %27https://%27 + window.location.href.replace(%27https://%27,%27%27).replace(%27/%27,%27/nav_to.do?uri=/%27);}

 

Yosi Saad
Tera Contributor

Hi,

This is fixed in Next experience "Display-> Always show top navigation"