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

servicenowkevin
ServiceNow Employee
ServiceNow Employee

Cal Wallace, you're basically asking for a layout similar to the one we're using at ServiceNow? Here's what it looks like for us:



feedbackandrating.png


Yes, that's what they want to happen, Kevin.   Got an idea on how to make that happen?   I'm going to check out what Ryan has posted here too.


Thanks!


Cal


Hey Kevin,


I've forced the comments open.   Can you send the code to move the Was this Useful?


Thanks!


Cal


I'll need to work with somebody else to get that. Let me see what I can do.