Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
JSLink property
Collapse the table of content
Expand the table of content

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".

© 2015 Microsoft