Свойство | Type | Description | |
---|---|---|---|
filePath | string | ||
outputPath | string |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | 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 | |
Résultat | bool |
public static CheckForWikiFieldOrPublishingPageContentAndUpdate ( WebPartDefinition webPart, Web web, Microsoft webPartPage, string sourceWebPartId = "" ) : void | ||
webPart | WebPartDefinition | |
web | Web | |
webPartPage | Microsoft | |
sourceWebPartId | string | |
Résultat | void |
public static GetPageList ( ClientContext &clientContext ) : List | ||
clientContext | ClientContext | |
Résultat | List |
public static GetWebPartShortTypeName ( string webPartType ) : string | ||
webPartType | string | |
Résultat | string |
public static IsPublishingWeb ( ClientContext clientContext, Web web ) : bool | ||
clientContext | ClientContext | |
web | Web | |
Résultat | bool |