Save and publish without triggering new notification

I have created a custom property editor. The property value needs to be updated after the page has been published and therefor I need to do a new SavAndPublish. This triggers new notifications
which I try to cancel in the saving notification. I’m trying to create a condition which checks if our custom property has been edited by looking at if it is dirty or not. I can’t get this to work properly which
results in to many publishes even when the custom property hasn’t changed at all.

Previously there was a bool raiseEvents in the SaveAndPublish method which could be set to false. This bool isn’t there anymore. The documentation still says: ContentPublishedNotification It can be skipped completely if the parameter “raiseEvents” is set to false during the Publish method call (true by default). Is it still possible to
saveAndPublish without triggering a new Notification? If so how?

How do I, in a notification, check if a specific property has been edited in order to perform certain actions on this property?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/108023-save-and-publish-without-triggering-new-notification