Share via


SPFieldGeolocation.JSLink property

Gets or sets the file to be loaded in CSR for handling the rendering of the Geolocation field.

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

Syntax

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

value = instance.JSLink

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

Property value

Type: System.String
The file to be loaded.

Remarks

The SPFieldGeolocation control uses geolocationfieldtemplate.js for JSLink.

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

See also

Reference

SPFieldGeolocation class

SPFieldGeolocation members

Microsoft.SharePoint namespace