Class PageLayoutManager
Class used to manage SharePoint Publishing page layouts
Inherited Members
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<ILog 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
Publishing Publishing page transformation data to get the correct page layout mapping from |
List Page for which we're looking for a mapping |
Returns
Page 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. Path and name of the page mapping file |