You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a Content Type in a site Collection with Add-PnPContentType can not use parent contentTyp from Content Typ Hub. "Content typ "xyz" not found in site".
Expected behavior
When using a Parent Content Typ from Content Typ Hub in the GUI is possible, i excpected that this should also work with PnP.PowerShell
Actual behavior
Site Content Type is created with parent "item".
Steps to reproduce behavior
Create and publish an content typ from the hub (parent is item), wait a moment until it is published and then try to use this published content type as parent:
Add-PnPContentType -Connection $nCon -Name "localType" -Description "Personalmassnahme" -Group "My Group" -ParentContentType (Get-PnPContentType -Identity "FromHub")
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
2.12.0 Core
2.4.0 Desk
Which operating system/environment are you running PnP PowerShell on?
Windows (Editor: Visual Studio Code)
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
The text was updated successfully, but these errors were encountered:
Reporting an Issue or Missing Feature
Creating a Content Type in a site Collection with Add-PnPContentType can not use parent contentTyp from Content Typ Hub. "Content typ "xyz" not found in site".
Expected behavior
When using a Parent Content Typ from Content Typ Hub in the GUI is possible, i excpected that this should also work with PnP.PowerShell
Actual behavior
Site Content Type is created with parent "item".
Steps to reproduce behavior
Create and publish an content typ from the hub (parent is item), wait a moment until it is published and then try to use this published content type as parent:
Add-PnPContentType -Connection $nCon -Name "localType" -Description "Personalmassnahme" -Group "My Group" -ParentContentType (Get-PnPContentType -Identity "FromHub")
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)2.12.0 Core
2.4.0 Desk
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: