Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
Returns the first field object in the collection based on the title of the specified field.
var value = SP.FieldCollection.getByTitle(displayName);
Parameters
displayName
A title of the SP.Field Class object that represents the field.It must not be null. It must not be empty.
Type: String
Return Value
Type: SP.Field
Applies To
Exceptions
- ArgumentException
The field with the specified name does not exist in the collection at the given scope. Error code: -2147024809.