How to Open a Pop-Up that Doesn't Contain ServiceNow Header & Application Navigator

MG Casey
Mega Sage

If your users have "Always show top navigation" turned on: 
 

MGCasey_0-1733325945652.png

It can be difficult to have a UI Page open a small pop-up (for quick editing) that doesn't contain the ServiceNow header and application navigator, which take up a lot of real estate.

 

I just wanted to pass along my solution if it helps anyone else:

 

window.open("test_record.do?sys_id=-1", "lookup", "width=500,height=500, scrollbars=yes");

 

 

The important part is the 2nd parameter - which specifies the window name. If you name it as lookup, then the ServiceNow header and application navigator will not appear in the pop-up! 🙂

1 ACCEPTED SOLUTION

MG Casey
Mega Sage
window.open("test_record.do?sys_id=-1", "lookup", "width=500,height=500, scrollbars=yes");

 

The important part is the 2nd parameter - which specifies the window name. If you name it as lookup, then the ServiceNow header and application navigator will not appear in the pop-up!

View solution in original post

1 REPLY 1

MG Casey
Mega Sage
window.open("test_record.do?sys_id=-1", "lookup", "width=500,height=500, scrollbars=yes");

 

The important part is the 2nd parameter - which specifies the window name. If you name it as lookup, then the ServiceNow header and application navigator will not appear in the pop-up!