Calling a script include in an Incident template
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2019 12:16 AM
Hi All,
I'm trying to call a script include in an incident template and it's not playing ball. I've written and tested the script include, it's pretty simple, just taking a date/time field and adding 30 minutes to it. I'm trying to call this in an Incident template as below but, as far as i can tell it's not even making the call, let alone returning the value
//with classful script include:
javascript: new ScriptIncludeName().functionName(field,seconds);
//straight up function:
javascript: new functionName(field,seconds);
I've tried removing the arguments and just statically setting things in the script include but that doesn't work either. Anyone got any input on whether this is even possible or if i'm barking up the wrong tree?!
Cheers
Dave
Labels:
- Labels:
-
Scripting and Coding
1 REPLY 1
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2019 01:56 AM