JSLink property

SPFieldUser.JSLink property

SharePoint 2013

Gets or sets the name of an external JavaScript file that contains any client rendering logic for fields of this type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override string JSLink { get; set; }

Property value

Type: System.String
The name of the file.

This override returns "clienttemplates.js" by default.

The JSLink property is not supported on Survey or Events lists. A SharePoint calendar is an Events list.

Show:
© 2016 Microsoft