This topic has not yet been rated - Rate this topic

SPUtility.CreateNewWikiPage Method

SharePoint 2010

Adds a new Wiki page to a Wiki page library.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public static SPFile CreateNewWikiPage(
	SPList wikiList,
	string url
)

Parameters

wikiList
Type: Microsoft.SharePoint.SPList
The destination page library.
url
Type: System.String
The URL of the page to add.

Return Value

Type: Microsoft.SharePoint.SPFile
The newly added page.

Callers must set field values and call the Update() method.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ