1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / copy an existing page

copy an existing page

3 posts, 0 answered
  1. Phil
    Phil avatar
    89 posts
    Registered:
    19 Oct 2010
    01 Dec 2010
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    01 Dec 2010
    Link to this post
    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
  3. Phil
    Phil avatar
    89 posts
    Registered:
    19 Oct 2010
    07 Dec 2010
    Link to this post
    For other SF Forum users:  SiteFinity has corrected themselves on this. 
    The way to copy a page is here
3 posts, 0 answered