copy an existing page

Posted by Community Admin on 03-Aug-2018 17:58

copy an existing page

All Replies

Posted by Community Admin on 01-Dec-2010 00:00

I would like to programatically copy an existing SF page.

Could you please get me started in this regard?  I have looked at the overloads of CreateNewStandardPage() but it is unclear to me if any of these creates a copy of an existing SF page.

Thanks

Posted by Community Admin on 01-Dec-2010 00:00

Hi Phil,

The PageManager supports two methods for duplicating a page

PageManager.CopyPageNode
PageManager.CopyPageData

CopyPageData(PageData sourcePage, PageData targetPage, CultureInfo sourceLanguage, CultureInfo targetLanguage, bool copyContentsFromSource)

CopyPageData has a parameter ""copyContentsFromSource" if set to true all content from the source page will be copied to the target page.


Regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 07-Dec-2010 00:00

For other SF Forum users:  SiteFinity has corrected themselves on this. 
The way to copy a page is here

This thread is closed