Export (0) Print
Expand All
Expand Minimize

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)

public virtual string JSLink { get; set; }

Property value

Type: System.String
The name(s) of the file(s). The default is a null reference (Nothing in Visual Basic).

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

Show:
© 2014 Microsoft