The Tab of related lists should change color "Blue with White text" when it has some data otherwise should show the default color.

snehalkhare
Kilo Guru

Hi All,

I have a requirement as when the Related list has any records available into it the Related list label background color should turn to blue with a white test in it . How to do this?

Thanks,

Snehal K

1 ACCEPTED SOLUTION

snehalkhare
Kilo Guru

Hi All,

Got the answer to this in one of the community questions.

https://community.servicenow.com/community?id=community_question&sys_id=14fb0325db9cdbc01dcaf3231f96...

 

Thanks,

Snehal Khare

View solution in original post

3 REPLIES 3

arobertson
Tera Guru

I think the only way to achieve this would be with DOM manipulation, which is not recommended.

Could you not take a different approach with a field style on one of the columns or maybe even a custom tick box if there are any records in the related list?

 

Hi , 

Thanks for the response. We need to follow the same approach as mentioned in the question above.

How can this be achieved?

 

Regards,

Snehal

snehalkhare
Kilo Guru

Hi All,

Got the answer to this in one of the community questions.

https://community.servicenow.com/community?id=community_question&sys_id=14fb0325db9cdbc01dcaf3231f96...

 

Thanks,

Snehal Khare