SP.ListItemCreationInformation.leafName Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets or sets a value that specifies the name of the new list item. It must be the name of the file if the parent list of the list item is a document library.
var value = SP.ListItemCreationInformation.get_leafName();
SP.ListItemCreationInformation.set_leafName(value);
Property Value
Type: String
Applies To
SP.ListItemCreationInformation Class
Remarks
Its length must be equal to or less than 128. It must not contain the following characters: \x00-\x1FF, \x22, \x23, \x25, \x26, \x2A, \x3A, \x3C, x3E, \x3F, \x5C and \x7B-\x9F.
See Also
Reference
SP.ListItemCreationInformation Methods