Forum Discussion
Kateraid
Sep 06, 2019Brass Contributor
Sharepoint Online Management Shell - group by more than 2 items in a list
Hi folks - I had this posted in the SharePoint community, but didn't get much response so I'm re-posting here in the PowerShell community to see if anyone here knows how to do this with PowerShell. ...
TechCgr
Sep 10, 2019Copper Contributor
Hi Kateraid
Seems not really supported... I've tried it on a Dev Tenant and after having applied the PnP template with 3 Groups in my view, I get an error when I tried to refresh the view:
Tried with this in the PnP template
<Query>
<GroupBy Collapse="TRUE" GroupLimit="30">
<FieldRef Name="Category" />
<FieldRef Name="Location" />
<FieldRef Name="Language" />
</GroupBy>
<OrderBy>
<FieldRef Name="ID" />
</OrderBy>
</Query>