SP.Utilities.Utility.createNewDiscussion(Context, list, title) Method
Applies to: SharePoint Foundation 2010
Gets a new discussion item.
var value = SP.Utilities.Utility.createNewDiscussion(Context, list, title);
Parameters
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.
Return Value
Type: SP.ListItem
The new list item.