Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Emails from Gemini 5

emails

Hi,

I cant see in the help document a list of all the fields we can use to show whats changed when an email is sent for example: @(item.Title)

How do I add "whats changed" and or "last comment", like in Gemini V4 emails?

Thanks

James
· 166
James
Replies (9)
helpful
0
not helpful

If you go to Customize --> System --> Alert Templates you can edit the template to show "Last Comment". Currently the change log is not available.

··· Is there an ETA of when a change log will be available?TJFWednesday, October 10, 2012, 9:38:21 PM
··· I'm currently getting 30-40 gemini emails a day and I'm missing a lot of comments, urgency changes, scope updates, etc. because I don't see them unless I click on each individual itemTJFWednesday, October 10, 2012, 9:40:34 PM

Simran
· 1762
Simran
helpful
0
not helpful

do you have the full list of what things we can addand the codes for them.

Also what is the code for "last comment" is it something like: @(item.LastComment)?


James
· 166
James
helpful
0
not helpful

Last comment should be written as @Model.The.Item.LastComment. The document below holds a list of which values can currently be used.


Simran
· 1762
Simran
helpful
0
not helpful

Simran
· 1762
Simran
helpful
0
not helpful

ok cool but @Model.The.Item.LastComment is not listed on that doc, do you have a full list of what can be used?


James
· 166
James
helpful
0
not helpful

Apologies, it is @Model.TheItem.LastComment not @Model.The.Item.LastComment. The document is missing this and will be corrected. Otherwise the list in the document is currently all that can be used.


Simran
· 1762
Simran
helpful
0
not helpful

nope, its not a fan of that:

Line: 114 Col: 104 Error: 'Countersoft.Gemini.Mailer.AlertTypeAppNavAlertsTemplateModel' does not contain a definition for 'TheItem' and no extension method 'TheItem' accepting a first argument of type 'Countersoft.Gemini.Mailer.AlertTypeAppNavAlertsTemplateModel' could be found (are you missing a using directive or an assembly reference?) //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.239 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Countersoft.Foundation.Web.Mvc.Razor { using System; public class Rzr7c5d13ddaf644faab08f30be1100db22Template : Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateBase { #line hidden public Rzr7c5d13ddaf644faab08f30be1100db22Template() { } public override void Execute() { WriteLiteral("\r\n\r\n\r\nGEMINI TRACKER\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nJust to let you know that there are "); Write(Model.ChangeCount); WriteLiteral(" changes to your watched items.\r\n\r\n\r\n\r\n\r\n"); if (Model.TheItemsUpdated.Count > 0) { WriteLiteral("\tChanged\t\r\n"); WriteLiteral("\t\r\n\t\t\r\n"); foreach(var item in Model.TheItemsUpdated) { WriteLiteral("\t\t\r\n\t\t\t(Model.GeminiUrl , 1036), false) , Tuple.Create(Tuple.Create("", 1054), Tuple.Create("project/", 1054), true) , Tuple.Create(Tuple.Create("", 1062), Tuple.Create(item.ProjectCode , 1062), false) , Tuple.Create(Tuple.Create("", 1081), Tuple.Create("/", 1081), true) , Tuple.Create(Tuple.Create("", 1082), Tuple.Create(item.Entity.ProjectId , 1082), false) , Tuple.Create(Tuple.Create("", 1106), Tuple.Create("/item/", 1106), true) , Tuple.Create(Tuple.Create("", 1112), Tuple.Create(item.Entity.Id , 1112), false) ); WriteLiteral(">"); Write(item.IssueKey); WriteLiteral("\r\n\t\t\t"); Write(item.Title); WriteLiteral("\r\n\t\t\t"); Write(Model.TheItem.LastComment); WriteLiteral("\r\n\t\t\t\r\n\t\t\r\n"); } WriteLiteral("\t\r\n\t\t\r\n"); } WriteLiteral("\r\n\r\n\r\n\r\nThanks.\r\n\r\n\r\n\r\n\r\n\r\n\r\nSent by Aeriandi support desk\r\n\r\n\r\n"); } } } , at Countersoft.Foundation.Web.Mvc.Razor.Compiler.Compile(IEnumerable`1 entries) at Countersoft.Foundation.Web.Mvc.Razor.RazorTemplateGenerator.CompileTemplates() at Countersoft.Foundation.Web.Mvc.Razor.RazorCacheManager.Generate(HtmlHelper html, String templateName, String templateContents, Object parameter, Object resourceManager, Boolean debug) at Countersoft.Gemini.Mailer.AlertsTemplateHelper.GenerateHtml(AlertTemplate template, AlertTypeBaseTemplateModel model) at Countersoft.Gemini.Models.Admin.SystemAlertTemplatesModelBuilder.SaveData()


James
· 166
James
helpful
0
not helpful

ok fixed it, its @(item.LastComment)

However does they follow by the visibility rules, as in, if its sending to someone who is not on the visibility of the comment the last comment they see will be the last comment for there visibility level?


James
· 166
James
helpful
0
not helpful

At the moment it will be visible to all users receiving the alert.


Simran
· 1762
Simran