SaaS CMS has officially launched! Learn more now.

Mirroring in EPiServer



We want to mirror the database from one environment to another. Can we keep the page id's same when we do the mirroring in all th environments? The problem is if we have set some page id's in one env when we mirror the page ids are changing.




Mar 14, 2011 22:55

I think the page guids are preserved, you could try to save that instead of the ID. I could be wrong though.

If possible, use properties (of type Page) to keep track of pages rather than saving references to pages externally, e.g. in config files. That usually causes less headaches.

Mar 15, 2011 7:10

Mangus is correct that the guid based identifier for the page is preserved during mirroring (unless you mirror within the same site or another site in an enterprise setup).

The integer based identifiers are though not preserved, the reason is that it would be hard to preserve the id, e.g. there might already exist a different page with that id in the destination site.

Mar 16, 2011 13:03
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.