Table of contents
TOC
Collapse the table of content
Expand the table of content

PageExtensions.AddWikiPage Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Adds a blank Wiki page to the site pages library

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string AddWikiPage(this Web web, String wikiPageLibraryName, String wikiPageName)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

wikiPageLibraryName

  Type: System.String
  Name of the wiki page library

wikiPageName

  Type: System.String
  Wiki page to operate on

Return Value

Type: string
The relative URL of the added wiki page

See also

© 2018 Microsoft