Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - 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)
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".

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.