Articles about European Sharepoint Hosting Service
SharePoint 2013 Hosting – HostForLIFE.eu : How to set the list view scope in SharePoint Online using PnP PowerShell?
I have a documents library named “Shared Documents” in which I want to set “Show all items without folders” property for “All Documents” list view.
You can download setup files from the releases section of the PnP PowerShell repository. Copy the below script and paste it in a notepad. Save the file as SetListView.ps1.
ViewScope enum:
Open PowerShell window and run the following command.
1 |
>cd "<folderlocation>" |
folderlocation – SetListView.ps1 file location
Run the following command
1 |
>.\SetListView.ps1 |
Print article | This entry was posted by Peter on July 18, 2018 at 2:47 am, and is filed under European SharePoint 2013 Hosting. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |