I am trying to create a notification email that will show the difference between the saved and previously published version.
My plan was to create a AfterSendToPublish event and use the umbraco.cms.businesslogic.utilities.Diff.Diff2Html() method to create the body text. Pretty much exactly the same way the rollback feature works (that is where I got most of the code from).
Can somebody explain how and where documents are “saved” vs “Published”? Maybe I'm comparing the worng versions?
Compare previous version in notification email.
I am trying to create a notification email that will show the difference between the saved and previously published version.
My plan was to create a AfterSendToPublish event and use the umbraco.cms.businesslogic.utilities.Diff.Diff2Html() method to create the body text. Pretty much exactly the same way the rollback feature works (that is where I got most of the code from).
Can somebody explain how and where documents are “saved” vs “Published”? Maybe I'm comparing the worng versions?
Maybe I’m going about this all wrong, if anybody has any better ideas let me know
Clair, did you ever figure this out?
is working on a reply...