I have to hide star rating in portal.

niveditakumari
Mega Sage

Hi, 

 

I have to hide star rating in portal. In portal when we open knowledge article there are two places we can see star rating. I know we have system property to hide star rating and when I'm putting that value as false it is hiding star rating in all places. I have to hide star rating only at one place which user has given rating that is available in below personal policy name. 

Please see attached screenshot. 

Can you please help me with that. 

 

niveditakumari_0-1717497611442.png

 

1 ACCEPTED SOLUTION

Hi @niveditakumari I can see you have added /* comments in your code . Use */ syntax to close your comments.  

 

/* This is a single-line comment */
p {
  color: red;
}

/* opening comment   */ closing comment

 

Refer this SC. You can see commented code is in golden color and non commented code is highlighting 

SiddharamTakali_0-1717568935698.png

 

 

View solution in original post

10 REPLIES 10

Kieran Anson
Kilo Patron

Set the system property glide.knowman.show_star_rating to false

With property set to false

KieranAnson_0-1717530709267.pngKieranAnson_1-1717530727689.png

 

Yashsvi
Kilo Sage

Hi @niveditakumari

To hide the star rating in the portal knowledge section in ServiceNow, you typically need to customize the portal's widget or use CSS to hide the element. 

 

Thank you, please make helpful if you accept the solution. 

Mark Manders
Mega Patron

Check if this helps you in the right direction: https://www.servicenow.com/community/developer-forum/how-to-hide-last-updated-time-amp-how-to-know-w...

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark