What is the use of Subscribed by(related list) in business service?

Raj90
Tera Guru

Hi All,

In Business service, we have one related list name Subscribed by seeing in the below

find_real_file.png

We add User to Subscribed by but I don't know what is the use of this related list.

Anyone having knowledge on this please tell me briefly(functionality).

How to hide this related list for ITIL users?

Thanks 

Raj

 

1 ACCEPTED SOLUTION

Raj90
Tera Guru

Hi,

The below code is working fine.

function onLoad() {
if(g_user.hasRoleExactly('service_owner')) {
g_form.hideRelatedList("cmdb_subscriber"); // hide related list
g_form.showRelatedList('cmdb_subscriber'); // show related list
}
}

View solution in original post

6 REPLIES 6

Slawek_Radziewi
Kilo Sage

Try to set client script with similar code.

var sections = g_form.getSections();
if(g_user.hasRole('itil')){
         sections[1].style.display = 'block';
}else{
         sections[1].style.display = 'none';
}

Raj90
Tera Guru

Hi,

The below code is working fine.

function onLoad() {
if(g_user.hasRoleExactly('service_owner')) {
g_form.hideRelatedList("cmdb_subscriber"); // hide related list
g_form.showRelatedList('cmdb_subscriber'); // show related list
}
}