how to hide "Show one/all journal field" button on the Activity Stream in servicenow

shashanksha
Tera Contributor

how to hide "Show one/all journal field" button on the Activity Stream in servicenow

 

shashanksha_0-1731058177096.png

 

3 REPLIES 3

abhi159
Mega Sage
 
use this in client script and make the isolate script check box false.
var button = document.querySelector('.icon-stream-all-input.btn-default.btn');
button.style.display = 'none';
 
Please mark this response as correct or helpful if it assisted you with your question.
 

bbf35621
Kilo Sage

You can hide that button by doing a client script in the incident table(You also do that in Case, WO, and other ticket tables).

In the Onload client script,

$$('button[title="Show one journal field"]')[0].hide(); //For hiding the Show one journal field
$$('button[title="Show all journal field"]')[0].hide(); //For hiding the Show all journal field

and change the Isolate script field to false.