Automatically add/duplicate content to other-sites on publishing a content – Umbraco

This post explains, how to add the contents automatically to sibling site on publishing it on a site. For example, you are maintaining multiple sites using Umbraco and you are adding a blog content to one of your site and want to use the same blog content on other sites also. umbraco-logo

Let’s see how we can achieve this functionality;

First we need to catch the publish event then we can write the way we want to handle the content. Amazingly umbraco provide a way to catch the all event on content.

Here subscribing “Publishing” event which will fired before publishing the content. And ContentServicePublish will handle the reaming 🙂



Happy automatic duplicating content with Umbraco 🙂

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: