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

TaxonomyExtensions.WireUpTaxonomyField Method

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

Wires up MMS field to the specified term set.

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

Syntax

public static void WireUpTaxonomyField(this Web web, Guid id, String mmsGroupName, String mmsTermSetName, Boolean multiValue = False)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

id

  Type: System.Guid
  Field ID to be wired up

mmsGroupName

  Type: System.String
  Taxonomy group

mmsTermSetName

  Type: System.String
  Term set name

(optional) multiValue

  Type: System.Boolean
  If true, create a multivalue field

Return Value

Type: void

See also

© 2018 Microsoft