C# Class ProviderHostedAppPartsWeb.Models.SitePageManager

Exibir arquivo Open project: CriticalPathTraining/SharePointAddinDemos

Public Methods

Method Description
AddAppPartToPage ( string targetPage, string AppPartName ) : void
CreateTopNavNode ( string NodeTitle, string NodeUrl ) : void
CreateTopNavNode ( string NodeTitle, string NodeUrl, bool ExternalNode ) : void
CreateWebPartPage ( string FileName, string PageTitle ) : void
CreateWikiPage ( string FileName, string PageTitle, string PageContent ) : void
DeleteAllTopNavNodes ( ) : void
SitePageManager ( ClientContext clientContext ) : System
UpdateWikiHomePage ( string PageContent ) : void

Private Methods

Method Description
GetAppPartDefinition ( string AppPartName ) : string

Method Details

AddAppPartToPage() public method

public AddAppPartToPage ( string targetPage, string AppPartName ) : void
targetPage string
AppPartName string
return void

CreateTopNavNode() public method

public CreateTopNavNode ( string NodeTitle, string NodeUrl ) : void
NodeTitle string
NodeUrl string
return void

CreateTopNavNode() public method

public CreateTopNavNode ( string NodeTitle, string NodeUrl, bool ExternalNode ) : void
NodeTitle string
NodeUrl string
ExternalNode bool
return void

CreateWebPartPage() public method

public CreateWebPartPage ( string FileName, string PageTitle ) : void
FileName string
PageTitle string
return void

CreateWikiPage() public method

public CreateWikiPage ( string FileName, string PageTitle, string PageContent ) : void
FileName string
PageTitle string
PageContent string
return void

DeleteAllTopNavNodes() public method

public DeleteAllTopNavNodes ( ) : void
return void

SitePageManager() public method

public SitePageManager ( ClientContext clientContext ) : System
clientContext ClientContext
return System

UpdateWikiHomePage() public method

public UpdateWikiHomePage ( string PageContent ) : void
PageContent string
return void