Can we use dynamic content in a knowledge article

brianf
Tera Contributor

Hi,

Using Istanbul, KM v3

Specifically, we wish to have articles that will dynamically update on viewing to show:

  1. Top 5 Most Recent Articles for the Category
  2. Top 5 Most viewed articles for the Category
  3. Specific Business Item or Catalog information for the related item for the Category

We would like to create a template with the requisite code that would pull the article information based on the Category assigned to the article and the Business Item info based on either a key field added to the template form or based on a mapping.

Is this possible, and if yes, how do we pull this off?

Thank you,

Brian

4 REPLIES 4

Dave Smith1
ServiceNow Employee
ServiceNow Employee

The top two are available as reports, so adding them to a dashboard should be fairly simple.



I'm guessing some javascript can be embedded to include this content; I'm not sure how, but I'd be interested in finding out.


Thank you,



But I am not looking at adding this to a dashboard, but rather to a knowledge article. We are uncertain this will work in KM v3.


Hi Brian,



Did you manage to add dynamic content to your Knowledge Article? Reason for asking is because I'm looking to add dynamic content myself based on items in CMDB.



For example: Get vaules x,y,z from cmdb where name/sys_id = <value> and display info in article.


Hi Hendrik,  



That is what we were trying to do to, although I was not directly involved.   We wanted to pull info into the articles that was stored in the CMDB and other places based on the mapping of the Category of a keyword used in the article.   I think they may be on the path using custom scripts, but I am unsure at this time.     I am checking with the team that and will let you know when I hear back.