Expand Minimize
This topic has not yet been rated - Rate this topic

SPField.JSLink property

SharePoint 2013

When implemented in a derived class, gets or sets the name of an external JavaScript file (or set of files separated by the "|" character) that contains any client rendering logic for fields of the derived type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute]
public virtual string JSLink { get; set; }

Property value

Type: System.String
The name(s) of the file(s). The default is null.

For example, in many of the built-in classes that derive from this one, JSLink defaults to "clienttemplates.js".

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.