Table of contents
TOC
Collapse the table of content
Expand the table of content

ListExtensions.SetJSLinkCustomizations Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Sets JS link customization for a list view page

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetJSLinkCustomizations(this List list, String serverRelativeUrl, String jslink)

Parameters

list

  Type: Microsoft.SharePoint.Client.List
  SharePoint list

serverRelativeUrl

  Type: System.String
  url of the view page

  Type: System.String
  JSLink to set to the form. Set to empty string to remove the set JSLink customization. Specify multiple values separated by pipe symbol. For e.g.: ~sitecollection/_catalogs/masterpage/jquery-2.1.0.min.js|~sitecollection/_catalogs/masterpage/custom.js

Return Value

Type: void

See also

© 2018 Microsoft