Category/SubCategory on Templates

samadam
Kilo Sage

I am trying to create templates for Incidents and want the category and Sub category values pulled from a table rather than a choice list. I have this set up on the incident. How can I do the same on the template? I want to enforce the dependencies for category and sub category just like the incident form and based on cat and sub cat I have assignment groups, want that to populate accordingly. Tried creating client script on change of template to populate values but that doesn't work. I want the script to kick off when the template.category changes, How can I   call that? Thanks

2 REPLIES 2

staceyrocheleau
Kilo Guru

I believe you can call a script include in a template. Set up your script include to pull the values and reference the script include in the field on the template by entering javascript: and the call to the script include.


staceyrocheleau
Kilo Guru

Using JavaScript in a template


Here's a link on how to call a script on a template.