Share via


Field.JSLink property

When implemented in a derived class, gets or sets the name of an external JavaScript file that contains any client rendering logic for fields of the derived type.

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

Syntax

'Declaration
Public Property JSLink As String
    Get
    Set
'Usage
Dim instance As Field
Dim value As String

value = instance.JSLink

instance.JSLink = value
public string JSLink { get; set; }

Property value

Type: System.String
The name of the file.

Remarks

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

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

See also

Reference

Field class

Field members

Microsoft.SharePoint.Client namespace