SPForm.JSLink property
JSLink - An Attribute of the form, specifies the Javascript files used for the form.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property JSLink As String
Get
Set
'Usage
Dim instance As SPForm
Dim value As String
value = instance.JSLink
instance.JSLink = value
public string JSLink { get; set; }
Property value
Type: System.String
A URI to the JavaScript file.
Remarks
The JSLink property is not supported on Survey or Events lists. A SharePoint calendar is an Events list.