- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2017 09:07 AM
Good afternoon SNC,
I was given a requirement to change the OOTB "Yes"/"No" buttons in the question "Helpful?" in KB articles for more appealing Tumbs Up/Tumbs Down buttons.
Does anyone have an idea how to achieve this?
Regards,
Fábio Gonçalves
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2017 05:48 AM
Hi Fábio,
Yes this can be done, and you'll be pleased to hear it's not too difficult.
I've got a little tutorial on my website on how to do it here, but for simpleness I've copied that here for you.
Changing the KB Article 'Helpfulness' Buttons 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 (in the UI Macro these are lines 121 & 122)
Original Code
Updated Code
Hope this helps
Callum

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2017 05:48 AM
Hi Fábio,
Yes this can be done, and you'll be pleased to hear it's not too difficult.
I've got a little tutorial on my website on how to do it here, but for simpleness I've copied that here for you.
Changing the KB Article 'Helpfulness' Buttons 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 (in the UI Macro these are lines 121 & 122)
Original Code
Updated Code
Hope this helps
Callum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2017 06:43 AM
Hi Callum,
That worked perfectly! 🙂
Thank you so much for your reply!
Regards,
Fábio Gonçalves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2024 10:22 AM
Hi @Callum Ridley1 ,
Thanks for the solution, it works perfectly in ITIL view or in backend. I want this to be implemented in the Employee Center Portal as well. Can you guide me like how to achieve this?