Ok so I want to customize the email alerts that are sent out when a document is modified so that besides the information that is already there, it also shows the comment that the editor typed in when they checked-in the document.
For example lets say User A uploads a document to a Library and he 'Alert Me' of changes. Now lets say User B goe ahead and modifies the document, and saves it back to SharePoint. Since we have Versioning and Check-In/Out enabled, when User B saves the document he will be asked to publish it and to enter some comments. Lets say he entered the comments and clicks to finish the process. Now User A will receive an alert email that the document was edited by User A but it does not say the comment, so the User A has no idea what the change could be. How can I edit the alert email so it would show this comment filed?
I got as far as going to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML and opening the alerttemplates.xml but I am not too sure where to add the comment field or what the comment field is called...any tips?
Thank You!
EDIT: I'm going to guess the changes would have to be under here?
<AlertTemplate Type="List" Name="SPAlertTemplateType.DocumentLibrary">
<EventTypes IsVisible="True"/>
<Format>
But now I don't really understand this code or how I could add that comments field into the email. I will keep looking , any ideas?