SP.Utilities.Utility.createNewDiscussion(Context, list, title) Method

SharePoint 2010

Last modified: May 24, 2011

Applies to: SharePoint Foundation 2010

Gets a new discussion item.

var value = SP.Utilities.Utility.createNewDiscussion(Context, list, title);

Context

Type: SP.ClientRuntimeContext

The runtime context for accessing data from and invoking methods on remote objects.

list

Type: SP.List

The discussion list in which the new item is created.

title

Type: string

The title of the new discussion item.

Type: SP.ListItem

The new list item.

Show: