Class PublishingPageTransformationInformation
Information used to configure the publishing page transformation process
Inherited Members
Namespace: PnP.Framework.Modernization.Publishing
Assembly: PnP.Framework.dll
Syntax
public class PublishingPageTransformationInformation : BaseTransformationInformation
Constructors
PublishingPageTransformationInformation()
For internal use only
Declaration
public PublishingPageTransformationInformation()
PublishingPageTransformationInformation(ListItem)
Instantiates the page transformation class
Declaration
public PublishingPageTransformationInformation(ListItem sourcePage)
Parameters
ListItem
sourcePage
Page we want to transform |
PublishingPageTransformationInformation(ListItem, Boolean)
Instantiates the page transformation class
Declaration
public PublishingPageTransformationInformation(ListItem sourcePage, bool overwrite)
Parameters
ListItem
sourcePage
Page we want to transform |
System.Boolean
overwrite
Do we overwrite the target page if it already exists |
Methods
GetFirstNonEmptyFieldName(String[])
Given a collection of field names will return the first one which contains a value which is not null or empty.
Declaration
public string GetFirstNonEmptyFieldName(string[] fieldNames)
Parameters
System.String[]
fieldNames
A array of Internal field names to check |
Returns
System.String
An Internal field name |
IsFieldUsed(String)
Checks if a field is in use
Declaration
public virtual bool IsFieldUsed(string fieldName)
Parameters
System.String
fieldName
Internal field name |
Returns
System.Boolean
True or False |