- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 03:41 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 11:13 PM - edited 06-04-2024 11:26 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:21 AM
Set the system property glide.knowman.show_star_rating to false

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 12:52 PM
With property set to false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:30 AM
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 04:34 AM
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