Scheduler email templates customization
Hello,
We are using Scheduler v. 1.7.2 for sending email alerts. I'd like to update email templates by adding user name that did modification.
For this I added following code to email template C:\Program Files\CounterSoft\Gemini Scheduler Service\MailTemplates\html\IssueDetail.en-GB
<!-- Updated by:-->
<tr>
<td valign=top align="right"><b>Updated by:</b></td>
<td valign=top><%=GeminiHelper.GetUser (GeminiHelper.GetStringASInt(Data.UserID)).Fullname%></td>
</tr>
But following error occurred as result in application log:
CounterSoft.Gemini.Commons - Object reference not set to an instance of an object. - at CounterSoft.Gemini.Commons.TemplateMaschine.Template.Generate(Object[] args, String outputFile, Boolean outputToString)
at CounterSoft.Gemini.Scheduler.EmailAlertsProcess.MakeAlertMessage(IssueEN issue, IssueCommentEN lastComment, ArrayList changeLog, IssueAlertEN alert, IssueWatcherEN recipient, String language)
What is wrong in my code?
Thanks.
popov
· 1 |
|
Friday, April 18, 2008, 1:30:25 PM |