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
In the PNP.PowerShell module version 1.5 we have noted some strange behavior. When reading in list items to a variable (using Get-PNPListItem), we are not able to sort the variable based on FieldValues (Specifically FileRef). In order to sort the list, we need to assign a new variable to a JSON conversion of the variable's FieldValues, then create another new variable by reading this JSON list back into an array. This final variable can then be sorted. Completely strange behavior. We should be able to sort on the original variables FieldValues field.
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.
-
In the PNP.PowerShell module version 1.5 we have noted some strange behavior. When reading in list items to a variable (using Get-PNPListItem), we are not able to sort the variable based on FieldValues (Specifically FileRef). In order to sort the list, we need to assign a new variable to a JSON conversion of the variable's FieldValues, then create another new variable by reading this JSON list back into an array. This final variable can then be sorted. Completely strange behavior. We should be able to sort on the original variables FieldValues field.
Beta Was this translation helpful? Give feedback.
All reactions