Throughout my experience, I've frequently observed developers and content authors unintentionally using the Publish Site option. To prevent these errors, in some projects, we even removed the Publish Site option from the Core database. Several of my colleagues asked me how I handle such situations, and my response was straightforward: recycle the app pool! 😄 … Continue reading How to cancel accidental Sitecore Publish Site?
Publish Events
How to add custom Event handler in Sitecore?
We had a requirement of pushing some Sitecore items to third-party applications once those are publish on the Live (Web database). We had to attach a custom event handler in the Publishing event. Now the handler needs to be added in both publish:end and publish:end:remote, the former works well on single instances and CM server … Continue reading How to add custom Event handler in Sitecore?