SP.File.name Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets the name of the file including the extension.
var value = SP.File.get_name();
Property Value
Type: String
Applies To
Exceptions
- FileNotFoundException
File cannot be found. Error code: - 2147024894.
- UnauthorizedAccessException
The current user has insufficient permissions. Error code: - 2147024891.
Remarks
It must not be null. Its length must be equal to or less than 128.