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

clivebushell
Giga Contributor

find_real_file.png


clivebushell
Giga Contributor

I have this



find_real_file.png



and this



find_real_file.png


That looks right to me as far as the properties go. Why the button is not showing up, I don't know at this point. Now that you have the UI script back to 'factory default', it should be working. It might be time to get support involved. I'm running out of ideas.



HI Service Portal - ServiceNow


Contact Support | ServiceNow


clivebushell
Giga Contributor

The UI Macros here



find_real_file.png


clivebushell
Giga Contributor

How do I put the UI Macros back to default, can't remember if I did anything in there now?



Clive