Try our conversational search powered by Generative AI!

Mirroring

Vote:
 

I have a Idea but i need to verified it.

i Have 1 QA Server, and I have 1 Staging Server, i want to active Mirroring

the QA Server is going to be the Source Server and the Staging Server is going to be Target Server,

i Want only to Sync the pages that are approved(Episerver Workflow).

Can this scenary works? 

I Want to automatize the changes that i do in QA to Staging when the chages are approved.

Is it possible?

#112556
Oct 30, 2014 6:07
Vote:
 

By default a change to a content (page, block etc) is only mirrored if it is published (meaning a change of a non-published version wil not be mirrored). The approve workflow will in its final step publish the page which then triggers it to be mirrored, so it fits this scenario.

Another alternative if you want to have more control is to add some boolean property like "ShouldBeMirrored" on your content items. Then you can hook up an eventhandler to DataExporter.ContentExporting and in the event handler you can cancel mirroring of certain items if ShouldBeMirrored=false.

The value of ShouldBeMirrored could either be set by editors or you can have an eventhanlder hooked up to e.g. IContentEvents.PublishingContent and there have some logic to decide if ShouldBeMirrored should be set or not.

#112560
Oct 30, 2014 8:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.