pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
989 stars 662 forks source link

Add-PnPTaxonomyField -FieldOptions not adding to all content types #1711

Open wonderplayer opened 6 years ago

wonderplayer commented 6 years ago

Reporting an Issue or Missing Feature

Issue - Can't add taxonomy field to all content types of Site Pages library

Expected behavior

Taxonomy field gets added to all content types

Actual behavior

Gets added to the default content type

Steps to reproduce behavior

Add-PnPTaxonomyField -List $sitePagesList -DisplayName "Categories4" -InternalName "Categories4" -TermSetPath $categoriesTermSetPath -MultiValue -FieldOptions AddToAllContentTypes

Add-PnPTaxonomyField -List $sitePagesList -DisplayName $dName -InternalName $iName -TermSetPath $categoriesTermSetPath -MultiValue -FieldOptions 63 -AddToDefaultView

Add-PnPTaxonomyField -List $sitePagesList -DisplayName $dName -InternalName $iName -TermSetPath $categoriesTermSetPath -MultiValue -FieldOptions 63 `-AddToDefaultView

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

SharePointPnPPowershellOnline version - 3.1.1809.0

How did you install the PnP-PowerShell Cmdlets?

PartyMarty74 commented 4 years ago

Can confirm that i ran into same issue. pnp powershell version: SharePointPnPPowerShellOnline 3.17.2001.2