I had a request to change the Flag Article button to Report Article within knowledge Base articles, after reading around in the ServiceNow community, I located that this can be done by editing the UI Script — KBViewArticle, However with my JavaScri

clivebushell
Giga Contributor

I had a request to change the Flag Article button to Report
Article within knowledge Base articles, after reading around in the ServiceNow
community, I located that this can be done by editing the UI Script —
KBViewArticle

However with my JavaScript skills being zero the code now
seems to have a problem, causing the top four icons to no longer work on
knowledge base articles, please could you take a look and offer any help?

Many thanks

1 ACCEPTED SOLUTION

Thank you. The easiest way is to update the corresponding entry in the System UI> Messages table. Use the following URL to change the Message (not the key) field. Substitute YOURINSTANCE for your instance name.



https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_ui_message.do?sys_id=5a3e83f0ff201000dada1c57...


find_real_file.png


View solution in original post

29 REPLIES 29

Chuck Tomasi
Tera Patron

Can you provide some additional details on what you are trying to accomplish? Details (table names, catalog items, etc) are encouraged. Screen shots are always appreciated.


clivebushell
Giga Contributor

Hi Chuck,



Thanks for your reply, just added a screenshot of the JS.



I am trying to rename the Flag article button to Report article



Kind regards



Clive


Thank you. The easiest way is to update the corresponding entry in the System UI> Messages table. Use the following URL to change the Message (not the key) field. Substitute YOURINSTANCE for your instance name.



https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_ui_message.do?sys_id=5a3e83f0ff201000dada1c57...


find_real_file.png


clivebushell
Giga Contributor

Hi Chuck,



Before I try and rename the button again, I need help to try and get the buttons on the KB Article pages working again, at the moment you click and nothing happens



find_real_file.png

     
  I'm guessing its to do with this?



find_real_file.png
 
  Kind regards



Clive