When you are responding to a user, how many times to you have to ask the same question? Wouldn't it be great to inject pre-written content? This is what the JEMHC Scriptlets feature provides, specifically for Ad hoc notifications, but potentially when creating TemplateSet content as well.
Step-by-step guide
...
The JEMHC Scriptlets feature provides the ability to insert pre-defined message content in Ad hoc notifications.
Creating a scriptlet
Navigate to Notifications > Scriptlets. Use the create action to begin the creation process.
If you have not got a
PreviewContextPreview Context to hand, go and generate one from an Issue Event in Auditing > Events
Enter the Scriptlet Name, Language, Preview
ContetContent and Content, here its in Wiki markup. The Preview button can be used to show the rendered
restultresult
The rendered result, use the same icon to get back to edit
-mode:
Hit submit to save:
Now in the
adhoc popupad hoc pop-up, when scriptlets are available:
Opening the drop down, select the Paste Scriptlet option:
Use the filter to locate the Scripted required, and hit paste, it will generate content in the format of the text you editing, so wiki markup Scriptlets will result in formatted TEXT or HTML, as appropriate. Velocity replacements are always run, so $issue is available etc:
The content is injected, and Previewed:
Again, in the Preview, use the same icon to
filpflip back to edit mode:
Sending the notification:
The received email (styling could be improved, this is where
TemplateSetsTemplate Sets come in...
Info |
---|
Related articles
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
|
Page Properties | ||
---|---|---|
| ||
|