Search Results for

    Show / Hide Table of Contents

    Class PublishingPageTransformator

    Transforms a classic publishing page into a modern client side page

    Inheritance
    System.Object
    BaseTransform
    BasePageTransformator
    PublishingPageTransformator
    Inherited Members
    BasePageTransformator.LoadDefaultWebPartMapping()
    BasePageTransformator.LoadDefaultWebPartMappingFile()
    BaseTransform.RegisteredLogObservers
    BaseTransform.RegisterObserver(ILogObserver)
    BaseTransform.FlushObservers()
    BaseTransform.FlushSpecificObserver<T>()
    BaseTransform.LogError(String, String, Exception, Boolean, Boolean)
    BaseTransform.LogInfo(String, String, LogEntrySignificance)
    BaseTransform.LogWarning(String, String)
    BaseTransform.LogDebug(String, String)
    BaseTransform.Log(LogEntry, LogLevel)
    BaseTransform.SetPageId(String)
    BaseTransform.GetExactVersion(ClientRuntimeContext)
    BaseTransform.GetVersion(ClientRuntimeContext)
    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer