pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
989 stars 662 forks source link

Unable to update Toolbar Type for ListViewer webpart using PnP Powershell #2488

Open O365DevHero opened 4 years ago

O365DevHero commented 4 years ago

Reporting an Issue

Unable to set Toolbar type for List View webpart on a SPO site using PnP Powershell command Set-PnPWebPartProperty

Expected behavior

This command should be able to set the Toolbar Type to either Standard | None | showToolbar

Actual behavior

Currently ,there is no way we can update the Toolbar and we migrated few sites from On-Prem(SP2010) to SPO and all the list view webparts needs to be updated using Powershell rather than from UI

Steps to reproduce behavior

Migrate the On Prem Site from SharePoint 2010 which has a List Viewer webpart on a page and the migrated page is getting full Toolbar ,however we need some way to update to showToolbar. Open the Migrated Page in SPO and the List Viewer webpart is displaying Full Toolbar by default.

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

3.14.1910.0

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.