Pushing Page Type data and associated pages automatically from staging environment to production

D D asked on June 24, 2016 18:41

I've been tasked to automatically push page type data and pages from our staging environment to production. Our content people put data into our staging environment and want it automated.

Do I need to create a custom class and task to implement this? And if so, do I need to make a web service call to the production database and server? Are there any examples of this being done at all?

Is there an easier way via the CMS itself to configure this to be done? I know the staging module is designed specifically to do this by pushing the changes manually from one server to another. Can it be configured to automatically push pages/data?

Thanks!

Recent Answers


Brenden Kehren answered on June 24, 2016 19:16

There is a scheduled task which will handle this already once you've enabled staging. Be careful though because it will push all the content even if you're not ready to push it. The scheduled task is under your specific site and called "Content synchronization". Simply enable it and set it to run on the timeframe you want and you'll be set.

0 votesVote for this answer Mark as a Correct answer

D D answered on June 24, 2016 19:50

So there is no direct way for me to limit the auto push to one specific node and page type using this setting?

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on June 24, 2016 20:16

You can use workflow to control the page. Only the PUBLISHED page on the source side generates staging task to be sync to production.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.