Knowledge article types (HTM & WIKI)

Chuck S1
Tera Contributor

I would like to get an example on when or why would you use HTML or WIKI on Knowledge articles. or what is the purpose of this attribute. 

 

Article typeThe type of article, either HTML or wiki.
Note: This field is only visible in the standard template.
4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

The HTML type field is more often in use because it has easy formatting options compared to the Wiki type  where you have to add tags to format text. Also see below pros and cons of both types :

- You can simply copy and paste from any source (for example a web page) and find the exact text format/ images in HTML type field; whereas in Wiki type field you have to script a bit(i.e, the tags to get the text formatting done) and add images in Servicenow to use them in the text field.

- HTML field also has the advantage that you can get the code after copy-paste and edit it for more refinement.

- One disadvantage of the HTML field is that if you are trying to use this field value you might face a tuff time removing the HTML tags and getting the exact text, for Wiki field there is a tag <nowiki>; 

 

Regards,

Sachin

Chuck S1
Tera Contributor

Thx Sachin; appreciate the response. 

one more question same as above. On the Create Base form; how is the Set Default Knowledge field value is used? Pros and cons? also, is it set for the current base or is it used to set default across all Bases. 

find_real_file.png

 

thx in advance. 

This is the default configuration setting for articles created in the Knowledge Base. This field value is auto applied while creating an article in this Knowledge Base. This configuration is applied at a Knowledge Base level and NOT applicable across other Knowledge Bases.

Limitation: it doesn't work as expected for HTML type fields. Full details including a workaround is mentioned in this Known Error article.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0728427

Hetal3
Kilo Contributor

Can we convert from HTML to WIKI?

So we have both values in sync?