Copy Page Groups Between Sites In Multisite Scenario

Copy Page Groups Between Sites In Multisite Scenario

January 03, 2014 0 Comments

The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.

This blog provides a sample web form that can be used to copy a specific page and all of its child pages between two Sitefinity sites in multisite scenario.

This can be very useful if you create new site and don't want to copy the whole page structure from another site, with this sample you can only copy specific pages between sites to avoid recreating them multiple times in different sites.

The complete code for the coping pages between sites is available for download here.
In the sample web form there are four textboxes that accept the:

Name of the site to copy the page from
Name of the page to be copied
The culture of the page to copy (if the site have multiple cultures)
The name of the site to copy the page to
The culture of the site to copy the page to.

A limitation to the approach is to copy a page in one culture as page in completely different culture the sample assumes that you need to copy only certain pages from one site into another site and those two sites have the same cultures.
Coping a page in EN culture from a site into a site that have FR culture can prove to result in problems in the copied page, please avoid this.

Here is a video on how the copy implementation is used to copy a page.

Stanislav Velikov

Stanislav Velikov is a Tech Support Engineer at Telerik. He joined the Sitefinity Support team in April 2011.

Comments are disabled in preview mode.
Latest Stories in
Your Inbox
More From Progress
The New Mobile Development Landscape
Download Whitepaper
IDC Spotlight Sitefinity Thumbnail
Choosing the Right Digital Experience Platform to Improve Business Outcomes
Download Whitepaper
The Fastest Way to Build Mobile Apps With Cloud Data
Watch Webinar