Tips & Tricks

Yes\No to Thumbs Up\Thumbs Down on KB Articles

In the modern age of facebook and social media, users are often used to seeing thumbs up and down when they like or dislike things. ServiceNow Knowledge articles have a feature to rate an article for it’s usefulness/helpfulness. The little UI Macro change here changes the yes and no answer to thumbs up and thumbs down.

Firstly The UI Macro we are concerned with here isĀ ‘kb_view_ratings’.

Before you go in all guns blazing, I’d recommend you make a copy of this UI Macro to preserve it should you want to return to the OOB version at a later date.

Once you’ve made a copy and renamed the original you can go ahead and make the changes. Below are two code excerpts, the first is the original code and second is the altered code. I’ve highlighted the two lines you are going to change (121 & 122)

 
Original Code

 
Updated Code

Leave a Reply

Your email address will not be published. Required fields are marked *