How to auto populate content under text field in Knowledge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 06:53 AM
Hello,
I am trying to auto populate some of my content in the text field whenever a users opens Knowledge Create New. There is already a template out of the box.
But I created a new module for called Create new MSG under knowledge for which the Knowledge base would be MSG.
When users select Create new MSG, I have my own template that I would like to auto populate in the text field. I created a similar template that I would like to use but for some reason it will not populate when I open Create new MSG.
Thank you,
Eshwar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 07:20 AM
Hi Eshwar,
Did you try populating with templates? Keep in mind the template field needs to be made available on Kb_knowledge table. There is also a client script to invoke the template. You can refer to apply template onchange script.
In the template, create a record on kb_knowledge and use the text field as required , refer the picture below. The user and the group marks for exclusive users/groups. select global and empty user/group for public.
Regards,
Shariq
Mark correct if it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 07:24 AM
And you can also refer http://wiki.servicenow.com/index.php?title=Creating_a_Template#gsc.tab=0
Mark helpful if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 01:39 AM
Hi Eshwar,
Re-iterating myself,
"Keep in mind the template field needs to be made available on Kb_knowledge table. There is also a client script to invoke the template. You can refer to apply template onchange script."
Did you get a chance to also add the field and the client script?
Regards,
Shariq