How to add custom header and footer to the knowledge article?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 07:41 AM
Hello All,
We have around 600 KB articles and we want to add custom and header and footer to the all existing KB article and also want to provide template to create new article with header and footer. How can we achieve this?
Thank You..
Priya.
- Labels:
-
Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 10:14 AM
You can do this wit UI Extension points. Create an implementation of the 'KMArticleViewFooter'(available out of the box) extension point in such away that it appears only for the selected Knowledge Bases.
https://<<YOUR_INSTANCE_NAME>>>.service-now.com/sys_ui_extension_point.do?sys_id=2b094c7dcb11230021741a2df8076d08
Follow below steps:
1. Create an implementation of the given extension point.
2. You can copy the example code and modify the jelly script such that this footer appears only for selected Knowledge Bases.
3. Further details on Extension points can be found at: https://docs.servicenow.com/bundle/rome-application-development/page/build/applications/concept/extension-points.html
Regards,
Sachin