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
I'am trying to retreive SPList forms using this cmdlet : Get-PnPList -Includes Forms | ?{$_.Hidden -eq $false}
Using this "Includes Forms" parameter, I got this error : Get-PnPList : Value cannot be null. Parameter name: g At char Line:1 : 10 $lists = Get-PnPList -Includes Forms | ?{$_.Hidden -eq $false} ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : WriteError: (:) [Get-PnPList], ServerException FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.GetList
If I dont use the "Includes Forms", I got the classic error : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested..
Do you know how to retreive the "Forms" collection from an SPList ?
Is it a PNP bug ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'am trying to retreive SPList forms using this cmdlet :
Get-PnPList -Includes Forms | ?{$_.Hidden -eq $false}
Using this "Includes Forms" parameter, I got this error :
Get-PnPList : Value cannot be null. Parameter name: g At char Line:1 : 10 $lists = Get-PnPList -Includes Forms | ?{$_.Hidden -eq $false} ~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : WriteError: (:) [Get-PnPList], ServerException FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Lists.GetList
If I dont use the "Includes Forms", I got the classic error :
The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested..
Do you know how to retreive the "Forms" collection from an SPList ?
Is it a PNP bug ?
Beta Was this translation helpful? Give feedback.
All reactions