Knowledge base field is not showing in field mapping under Template

SANDEEP28
Mega Sage

HI Team,

I am creating template for kb_knowledge table in Templates table (sys_template).  I am not able to see "Knowledge base" field in field list. "Knowledge base" is field available in table, so it should be available in list of fields.

 

SANDEEP28_0-1690376119472.png

 

3 REPLIES 3

Dan O Connor
ServiceNow Employee
ServiceNow Employee

@SANDEEP28 Where are you creating this template from? There are generally two methods to create KB Article Templates

 

- Article Templates. This is the new method, which you define a template and a user can select the template through the Article Template interceptor when creating a new article.

 

 

- Template Bar. This is the long existing template bar, where you can make templates on most record forms. 

 

Article templates, and the template bar are generated against the Kb type by default. So you don't ever define the KB in the template, because it is already happening.

 

If you look up info on these methods, you can decide which one to use. Remembering there is already OOTB Article Templates that you can use.

 

https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/knowledge-management/concep...

 

https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/form-administration/...

SANDEEP28
Mega Sage

@Dan O Connor I am creating template using Template Bar

Yeah you won't have the option to set the Knowledgebase.

 

But if you setup different test Templates from a create article form, you should see them differentiate between. If they don't, just means the user needs to specify the KB each time, which shouldn't be the end of the world.

 

Definitely worth looking at the article templates feature set. It is a more modern take on templates, also better provides structure frameworks so articles look the same. And those templates are very much tied to specific Knowledgebases.

 

You could couple those with template bar to create better templates. 

 

Remember that template bar is more for users. To quickly create their own templates to use.

 

Article Templates is for KnowledgeBase managers to set out the structure they want articles to appear in.