- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2017 09:50 PM
Hey Casey,
Not sure if you ever got this working, but I see you were trying to do this as an onload (which happens when form loads), but I am not sure whether an onclick event would be the best solution here either.
If you are looking to load a template on load though, see below for a script free method (from http://wiki.servicenow.com/index.php?title=Creating_a_Template#gsc.tab=0 (section 6):
You can make a template that automatically applies to new, user-created records. To create this kind of template, set the template Name to match the name of the table the template applies to. This type of template ignores the User and Group fields on the Template form. Automatic templates are always global. The template does not apply to records created through an automated process such as a business rule, UI action, or workflow.
For example, a template called cmdb_ci_win_server with a Table value of Windows Server [cmdb_ci_win_server] is always applied when a user creates a new windows server record.