Service Portal: temporarily hide a section of a page

for example, you wish to hide a navbar

in the below example, a portal is under construction impacting testing of the search bar

we need to temporarily hide the side bar to enable the testing to proceed whilst the other developer continues to build the homepage

to do this, you can run this code in the browser console: $('.mycompany-sidemenu-wrapper').hide();

open the browser console using ctrl-shift-J

note: you will need to ensure that the console is docked for this to work

locate the element we need to highlight, using the search feature if needed:

then, in the console run the needed commands to temporarily hide the elements


and any additional:


$('.navbar-inverse navbar').hide();


Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy