Свойство | Тип | Описание | |
---|---|---|---|
filePath | string | ||
outputPath | string |
Метод | Описание | |
---|---|---|
AddWebPartToPage ( string webUrl, string configuredWebPartFileName, string configuredWebPartXmlFilePath, string webPartZoneIndex, string webPartZoneID, string serverRelativePageUrl, string outPutDirectory, string sourceWebPartId = "" ) : bool | ||
AddWebPartt ( Web web, string serverRelativePageUrl, OfficeDevPnP.Core.Entities.WebPartEntity webPartEntity, string sourceWebPartId = "" ) : bool | ||
CheckForWikiFieldOrPublishingPageContentAndUpdate ( WebPartDefinition webPart, Web web, Microsoft webPartPage, string sourceWebPartId = "" ) : void | ||
DoWork ( ) : void | ||
GetPageList ( ClientContext &clientContext ) : List | ||
GetWebPartShortTypeName ( string webPartType ) : string | ||
IsPublishingWeb ( ClientContext clientContext, Web web ) : bool |
Метод | Описание | |
---|---|---|
CheckWebPartOrAppPartPresenceInSite ( ClientContext clientContext, string targetWebPartXmlFileName, string targetWebPartXmlFilePath ) : bool | ||
IsFeatureOnWeb ( System.Guid FeatureID, ClientContext clientContext ) : bool |
public static AddWebPartToPage ( string webUrl, string configuredWebPartFileName, string configuredWebPartXmlFilePath, string webPartZoneIndex, string webPartZoneID, string serverRelativePageUrl, string outPutDirectory, string sourceWebPartId = "" ) : bool | ||
webUrl | string | |
configuredWebPartFileName | string | |
configuredWebPartXmlFilePath | string | |
webPartZoneIndex | string | |
webPartZoneID | string | |
serverRelativePageUrl | string | |
outPutDirectory | string | |
sourceWebPartId | string | |
Результат | bool |
public static AddWebPartt ( Web web, string serverRelativePageUrl, OfficeDevPnP.Core.Entities.WebPartEntity webPartEntity, string sourceWebPartId = "" ) : bool | ||
web | Web | |
serverRelativePageUrl | string | |
webPartEntity | OfficeDevPnP.Core.Entities.WebPartEntity | |
sourceWebPartId | string | |
Результат | bool |
public static CheckForWikiFieldOrPublishingPageContentAndUpdate ( WebPartDefinition webPart, Web web, Microsoft webPartPage, string sourceWebPartId = "" ) : void | ||
webPart | WebPartDefinition | |
web | Web | |
webPartPage | Microsoft | |
sourceWebPartId | string | |
Результат | void |
public static GetPageList ( ClientContext &clientContext ) : List | ||
clientContext | ClientContext | |
Результат | List |
public static GetWebPartShortTypeName ( string webPartType ) : string | ||
webPartType | string | |
Результат | string |
public static IsPublishingWeb ( ClientContext clientContext, Web web ) : bool | ||
clientContext | ClientContext | |
web | Web | |
Результат | bool |