Disable activity stream button

peter_repan
Tera Guru

Hi,

 

is it possible to disable activity stream button on lists ?

 

Button is on attached picture.

1 ACCEPTED SOLUTION

Hi Christina,




                        Below are the properties to hide activity stream on list layout and on form layout.



1)Hide activity stream on List Layout   -----     glide.ui.activity_stream.list_button


2)Hide activity stream on Form Layout ----- glide.ui.activity_stream.form_button



Regards,


Harish Murikinati.


View solution in original post

14 REPLIES 14

Brad Tilton
ServiceNow Employee
ServiceNow Employee

I'm not aware of a property that controls whether this is displayed, but it could exist. You could always run a global ui script with the following code to hide the button. Beware that a global ui script runs on every page load and having too many of them can slow your instance down.



if ($$('.list_stream_button')[0]) {


$$('.list_stream_button')[0].hide();


}


Masha
Kilo Guru

Minor adjustment that I had to make to make the above code work:



addLoadEvent(hideListStreamButton);



function hideListStreamButton(){


  if ($$('.list_stream_button')[0]) {


  $$('.list_stream_button')[0].hide();


  }


}


PeterWiles
Kilo Sage

If you want to turn it on/off for everyone on the specific table, on the table properties, you can untick the "Live Feed" option.


Capture.PNG


That option is not selected on any of our tables and Activity List still was visible.