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

Take a look at the list and short a-z on date updated. It will show any recent modifications.



find_real_file.png



If you have made changes, let me know and I can send you originals of those as well.


clivebushell
Giga Contributor

Yep 😞 could you send me the originals for the U Macros as well please



Thanks



Clive


Which ones? OOB, I have 67 UI macros with "kb" in the name.


clivebushell
Giga Contributor

kb_view_common_header_toolbar


Here you go. Import the XML the same way as before and let me know.