C# 클래스 JDP.Remediation.Console.AddWebPart

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

메소드 상세

AddWebPartToPage() 공개 정적인 메소드

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

AddWebPartt() 공개 정적인 메소드

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

CheckForWikiFieldOrPublishingPageContentAndUpdate() 공개 정적인 메소드

public static CheckForWikiFieldOrPublishingPageContentAndUpdate ( WebPartDefinition webPart, Web web, Microsoft webPartPage, string sourceWebPartId = "" ) : void
webPart WebPartDefinition
web Web
webPartPage Microsoft
sourceWebPartId string
리턴 void

DoWork() 공개 정적인 메소드

public static DoWork ( ) : void
리턴 void

GetPageList() 공개 정적인 메소드

public static GetPageList ( ClientContext &clientContext ) : List
clientContext ClientContext
리턴 List

GetWebPartShortTypeName() 공개 정적인 메소드

public static GetWebPartShortTypeName ( string webPartType ) : string
webPartType string
리턴 string

IsPublishingWeb() 공개 정적인 메소드

public static IsPublishingWeb ( ClientContext clientContext, Web web ) : bool
clientContext ClientContext
web Web
리턴 bool

프로퍼티 상세

filePath 공개적으로 정적으로 프로퍼티

public static string filePath
리턴 string

outputPath 공개적으로 정적으로 프로퍼티

public static string outputPath
리턴 string