Why does list form show crossed out text after editing?

C1TonyB 336 Reputation points
2021-02-26T16:31:27.517+00:00

I created a list form with an alert setup to watch for changes. After changes are made I receive an email that shows a line through previous text and the updated text next to it. See image. The cross outs are confusing to users. Is there a way to prevent the edits/cross outs from appearing in the email?

72488-outlook-ghxpaxeuzg.png

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,900 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,141 Reputation points
    2021-03-01T01:05:13.153+00:00

    Hello @C1TonyB ,

    Please the following step:

    1.Go to alerttemplates.xml file located at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\"

    72773-1.png

    2.Keep the copy of alerttemplates.xml for backup.

    3.Edit original alerttemplates.xml file.

    • Depending on your listtype make the limit length 1000.
    • If list is custom list edit the line under GenericList and so on.

    <Limit Len="1000" AutoHyperLinkNoEncoding="TRUE" MoreText="..."> <GetVar Name="OldValue#{Field}" /> </Limit>

    4.Run the following command in the SharePoint Management Shell Window

    • iisreset

    72784-2.png

    Thanks,
    Echo Du

    ====================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.