Remove "Create Incident" from the kb_view page (not portal)

Philippe Casidy
Tera Guru

Hi community!

 

A gentle Friday question of mine 🙂

 

I am currently previewing an upgrade to Utah and, as for every upgrade I encounter P1 skipped records.

Every upgrade I have a P1 skipped record on UI macro "kb_view_common_header_toolbar" because we commented the code not to display "Create Incident" button.

So, yes, I could merge the code, again... but it there a better way?

On the portal side, the button can be removed by setting an option on the instance on the page but what about this "View Article" page on the platform?

 

On a PDI, when I open a knowledge article in a form, I see a Form Link: View Article. When I click on it, I am redirected to

/now/nav/ui/classic/params/target/kb_view.do%3Fsys_kb_id%3De63095a41300620032643d62f244b0ff%26preview_article%3Dtrue
where I can see:

PhilippeCasidy_0-1677816876602.png

How can I remove this button without getting a skip record during an upgrade?

I guess we don't want our doc writers to "Create Incident" from there.

 

Thanks!

Philippe

1 ACCEPTED SOLUTION

Philippe Casidy
Tera Guru

ok,

Looks like there is a sys_properties with name "glide.knowman.create_incident_link.display"
Setting it to false, seems to fulfill my request.

 

View solution in original post

3 REPLIES 3

Anks26
Kilo Sage

Hi Philippe, 

There is a property that you will need to set to "false" and it should remove the button. Please try that. 

glide.knowman.create_incident_link.display

/nav_to.do?uri=sys_properties.do?sys_id=855e8cae0a0a0b34011b8d5cca0a9cb4

Thanks
Anks


Philippe Casidy
Tera Guru

ok,

Looks like there is a sys_properties with name "glide.knowman.create_incident_link.display"
Setting it to false, seems to fulfill my request.

 

For "Attach to Task" Button , to make it visible , do we need to do any changes please ?!