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

JavaScriptExtensions.ExistsJsLink Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Checks if the target site already has a custom JsLink with a specified key

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

Syntax

public static bool ExistsJsLink(this Site site, String key)

Parameters

site

  Type: Microsoft.SharePoint.Client.Site
  Site to be processed

key

  Type: System.String
  Identifier (key) for the custom action that will be created

Return Value

Type: bool
True if custom JsLink exists, false otherwise

See also

© 2018 Microsoft