Class PublishingPageTransformator
Transforms a classic publishing page into a modern client side page
Inherited Members
Namespace: PnP.Framework.Modernization.Publishing
Assembly: PnP.Framework.dll
Syntax
public class PublishingPageTransformator : BasePageTransformator
Constructors
PublishingPageTransformator(ClientContext, ClientContext)
Declaration
public PublishingPageTransformator(ClientContext sourceClientContext, ClientContext targetClientContext)
Parameters
ClientContext
sourceClientContext
|
ClientContext
targetClientContext
|
PublishingPageTransformator(ClientContext, ClientContext, PageTransformation, PublishingPageTransformation)
Declaration
public PublishingPageTransformator(ClientContext sourceClientContext, ClientContext targetClientContext, PageTransformation pageTransformationModel, PublishingPageTransformation customPublishingPageTransformationModel)
Parameters
ClientContext
sourceClientContext
|
ClientContext
targetClientContext
|
PageTransformation
pageTransformationModel
|
PublishingPageTransformation
customPublishingPageTransformationModel
|
PublishingPageTransformator(ClientContext, ClientContext, String)
Declaration
public PublishingPageTransformator(ClientContext sourceClientContext, ClientContext targetClientContext, string publishingPageTransformationFile)
Parameters
ClientContext
sourceClientContext
|
ClientContext
targetClientContext
|
System.String
publishingPageTransformationFile
|
PublishingPageTransformator(ClientContext, ClientContext, String, String)
Declaration
public PublishingPageTransformator(ClientContext sourceClientContext, ClientContext targetClientContext, string pageTransformationFile, string publishingPageTransformationFile)
Parameters
ClientContext
sourceClientContext
|
ClientContext
targetClientContext
|
System.String
pageTransformationFile
|
System.String
publishingPageTransformationFile
|
Methods
LoadDefaultPageLayoutMappingFile()
Loads the default page layout mapping model file
Declaration
public static string LoadDefaultPageLayoutMappingFile()
Returns
System.String
|
Transform(PublishingPageTransformationInformation)
Transform the publishing page
Declaration
public string Transform(PublishingPageTransformationInformation publishingPageTransformationInformation)
Parameters
PublishingPageTransformationInformation
publishingPageTransformationInformation
Information about the publishing page to transform |
Returns
System.String
The path to the created modern page |