How to add article template field to standard kb_knowledge articles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2022 01:47 PM
I am familiar with creating knowledge templates and creating article template fields. Each template extends the kb_knowledge table with content blocks for the article. I have a field I would like to use across all templates and would like to create on the kb_knowledge table similar to Article body (text).
I've already created and HTML field on the table and copied attributes but the text is not displayed when the article is viewed.
I appreciate the help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2022 11:53 AM
The part you're missing is to add an entry into kb_article_template_definition, which is what is (ultimately) used by global.ArticleTemplateUtilSNC() to get the "fields" needed for the "article content" for displaying on the widget. However, because you can't directly add to that table, and you need to select an Article Template, Template Table, and Template Field, I'm not sure you can do that for the top-level kb_knowledge table. Adding the field on the kb_knowledge table wouldn't automatically also would not mean it is a template field on any future templates you create. It's just not setup to do that (like normal table extension showing all parent-table fields). I would recommend just adding the field to each template to maintain OOB functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 02:09 AM
Thanks Erik, It helped me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2022 02:14 AM
1. Go to "Article Templates" module.
2. Find your Article template that you have created and open that by clicking on it
3. In the form you will find "Article Template Fields" section below the "Related Links".
4 Now, Whatever field you will create here, It will reflect on the article page.
------------------ -------------Mark it Helpful if you found your query solved------------------------------------