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
List Page we want to transform |
PublishingPageTransformationInformation(ListItem, Boolean)
Instantiates the page transformation class
Declaration
public PublishingPageTransformationInformation(ListItem sourcePage, bool overwrite)
Parameters
List Page we want to transform |
System. 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. A array of Internal field names to check |
Returns
System. An Internal field name |
IsFieldUsed(String)
Checks if a field is in use
Declaration
public virtual bool IsFieldUsed(string fieldName)
Parameters
System. Internal field name |
Returns
System. True or False |