none
How to truncate the "Body" Field in a Sharepoint Announcement Alert E-mail

    Question

  • Hello,

    I am using WSS 3.0 and I need to truncate the "Body" field of an Announcement alert email. If possible I would like to show only the first 150 characters of the "Body" with a link for "more" that will take the user to "DispForm.aspx" where they can see the full announcement.

    I know that I can make a copy of Alerttemplates.xml to customize the Announcement template but I am not sure of the coding that I would need to actually truncate the data.

    Does anyone know of how to do this? I have also tried some workarounds using javascript and calculated columns but nothing seems to solve the problem exactly. So now I am looking at customizing the e-mail template.

    Any help would be appreciated, thanks!

    Thursday, June 16, 2011 2:33 AM

Answers