Modifying kb_view

Nivlac1000
Kilo Expert

Hey All,

 

  I'm trying to meet some requirements for our Knowledge team.   I've been digging around a bit but can't figure out how to do these two things they are asking for in the Feedback section.

 

1. Force the Feedback comments box to be open by default instead of closed

2. Move the section for the "Was this helpful?", the ratings, and flagged to the left hand side.

 

Anyone out there played around with either of these?

 

Thanks!

Cal

1 ACCEPTED SOLUTION

ryanpalkovic
ServiceNow Employee
ServiceNow Employee

Working on the "useful" on the left, but it looks like you should be able to modify the UI Macro: kb_feedback_section



This line:


<div id="commentsdiv" style="display: none; padding: 0px 4px;">



To:


<div id="commentsdiv" style="display: block; padding: 0px 4px;">



To get Feedback Comments to be visible when the form is displayed.



Note: The first time the page is displayed after making this change, the +/- icon that's normally used to display this box has the + visible, even though the field is expanded.   Clicking on the + will collapse the field, and then the icon will return back to the functionality that you're used to.   I'll see what else I can find on that.


View solution in original post

12 REPLIES 12

The data in the "Was this useful" section is actually pulled from the kb_ratings UI macro, but I don't see how to move it from the right to the left.


I found one option for moving these to the left (please try on Development instance first just in case):



1. Edit UI Page "kb_view"


2. Move text from here:


find_real_file.png



3. To here:


find_real_file.png



4. To get this:


find_real_file.png


Tim, that is spot on what I was looking for.



Thanks!


Cal