Try our conversational search powered by Generative AI!

Interface IPageCopyHandler

Defines the signature of the component that handles page copy operations.

Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[Obsolete("Use IContentCopyHandler instead")]
public interface IPageCopyHandler

Methods

Copy(PageReference, PageReference, AccessLevel, Boolean)

Copy pages to another container syncronusly.

Declaration
PageReference Copy(PageReference pageLink, PageReference destinationLink, AccessLevel requiredSourceAccess, bool publishOnDestination)
Parameters
Type Name Description
PageReference pageLink

The link to the root page to copy.

PageReference destinationLink

The container where the page will be copied

AccessLevel requiredSourceAccess

The required source access to check access against

System.Boolean publishOnDestination

If the new pages should be published on the destination

Returns
Type Description
PageReference

Extension Methods