How to create a button on kb_view page ?

Saai1
Tera Expert

Hello All,

 

I need to create a button on the kb_view article "Feedback" when click on the button it should open a browser tab and direct to "forms.office.com"

 

Saai1_0-1744127935139.png

 

Thanks,

2 REPLIES 2

Shivalika
Mega Sage

Hello @Saai1 

 

Only UI Macro will work on this page 

 

3 UI Macro (kb_view_common_header_toolbar & kb_view_hidden_fields & kb_view_common in which the variable showCreateIncident is initialized based on the fact that the knowledge is in a popup or not)

1 UI Script (KBViewArticle)

Insert a new system property

 

You can refer below 👇 community article for detailed reference - 

 

https://www.servicenow.com/community/developer-forum/add-new-button-to-knowledge-view/m-p/1791542#M4...

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

 

ronhrhr
Tera Contributor

and if need to new button in knowledge view (KB_view) beside ediit button on workspace,then how to add?