We have some large multi-site implementations and some changes which are being applied through data scripts. To get these changes published and replicated we need to republish all the existing published content for each site. We can do this manually by right clicking the site in the Umbraco UI, but we have up to 100 sites so this isn't really a viable option for us, particularly as republishing seems to take an average of 4 minutes a site.
What we need to be able to do is to call the same feature for each site one after the other, either by calling the API remotely or through a web page. Can anyone suggest what we would have to do to realise this? I'm concerned about timeout issues etc.
Republish EVERYTHING
Hi all,
We have some large multi-site implementations and some changes which are being applied through data scripts. To get these changes published and replicated we need to republish all the existing published content for each site. We can do this manually by right clicking the site in the Umbraco UI, but we have up to 100 sites so this isn't really a viable option for us, particularly as republishing seems to take an average of 4 minutes a site.
What we need to be able to do is to call the same feature for each site one after the other, either by calling the API remotely or through a web page. Can anyone suggest what we would have to do to realise this? I'm concerned about timeout issues etc.
Thanks pre-emptively.
You should be able to use the web service API for this. Enable it for a user, and make sure you have that same user on all sites.
By default, umbraco doesn't include this api.
You need to download the soruce code of Umbraco, and build umbraco.webservice project.
is working on a reply...