Where are the buttons in 'kb_view' controlled?

bonsai
Mega Sage

I would like to hide the buttons on the "kb_view" screen that appear after clicking the "Preview" button on the incident record screen.

I thought that this might be controlled by the HTML of the UI page "kb_view", so I tried deleting them all.

kb_view_1.JPG

 

kb_view_3.JPG

 

As expected, the screen went blank,
but the button remained.

Isn't it the UI page that controls the button?

I saw an article that said the script include "cxs_Knowledge" is involved, but where is it being called from?

 

kb_view_2.JPG

2 REPLIES 2

GlideFather
Tera Patron

Hi,

check this UI Macro "kb_view_attach_button":
https://{your-instance}.service-now.com/sys_ui_macro_list.do?sysparm_query=nameSTARTSWITHkb_view%5Ename%3Dkb_view_attach_button&sysparm_view= 


And/or the system properties containing "knowman":
https://
{your-instance}.service-now.com/sys_properties_list.do?sysparm_query=nameLIKEknowman&sysparm_view=

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Thank you for your answer!

 

I'm tweaking the UI macro, but it doesn't seem to have any effect.

I tried deactivating it, but it remained visible.

I don't know which property corresponds to it...
I couldn't find any property related to the target button.