Search Results for

    Show / Hide Table of Contents

    Class PageLayoutManager

    Class used to manage SharePoint Publishing page layouts

    Inheritance
    System.Object
    BaseTransform
    PageLayoutManager
    Inherited Members
    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 PageLayoutManager : BaseTransform

    Constructors

    PageLayoutManager(IList<ILogObserver>)

    Constructs the page layout manager class

    Declaration
    public PageLayoutManager(IList<ILogObserver> logObservers = null)
    Parameters
    IList<ILogObserver> logObservers

    Currently in use log observers

    Methods

    GetPageLayoutMappingModel(PublishingPageTransformation, ListItem)

    Load to PageLayout that will be used to transform the given page

    Declaration
    public PageLayout GetPageLayoutMappingModel(PublishingPageTransformation publishingPageTransformation, ListItem page)
    Parameters
    PublishingPageTransformation publishingPageTransformation

    Publishing page transformation data to get the correct page layout mapping from

    ListItem page

    Page for which we're looking for a mapping

    Returns
    PageLayout

    The page layout mapping that will be used for the passed page

    LoadPageLayoutMappingFile(String)

    Loads a page layout mapping file

    Declaration
    public PublishingPageTransformation LoadPageLayoutMappingFile(string pageLayoutMappingFile)
    Parameters
    System.String pageLayoutMappingFile

    Path and name of the page mapping file

    Returns
    PublishingPageTransformation

    A PublishingPageTransformation instance.

    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