Does anyone know if you can copy a publishing page (programmatically), based on a custom layout and content type, from one site to another in different site collections and keeping all the data in the fields or webparts. Basicly to create a feature receiver that has code to copy the instance of page P from site A in site collection SCA to Site B in site collection SCB.
The big picture here is to create a page inside a variation and place a flag in the edit mode panel of that page. When the flag is set to true and the page is approved, it should be pushed to all variations as a draft (workflow) in another region. example:
- Site Collection SCA: North America Region with variations en-US en-CA with en-US as root
- Site Collection SCB: Europe Region with variations en-UK es-ES with en-UK as root
I create page P on en-US (root of North America Region) on publish it is pushed to all variations inside that region. If the flag is set to true, then the page is pushed as a draft to the root of the Europe Region (en-UK).