Dynamic Content in a KB Article

cloudyrobert
Kilo Guru

Has anyone succeeded in running scripts or putting dynamic content into a knowledge base article by some other means?

9 REPLIES 9

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You're pretty limited in what you can do, but here's an example for using styles in knowledge. What exactly are you trying to do?



» How to Use Custom CSS style sheets in non-CMS pages


Without going into too much detail, have a list of CIs associated with the article display in the body.   The query can be hard-coded, but we don't want to have to manually keep the list(s) up to date.   I was able to successfully run some code from an onclick attribute.   That may be an acceptable option.


abeers
Kilo Contributor

It would also be handy if we could figure out how to insert multiple reports in a KB article that update automatically.


Yep.   Would also be cool if we could attach related Catalog Items and then make Knowledge another way to organically sort the Catalog.