Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". Is there any way to hide search bar for list too. #3041

Open
1 task
johnvittneyk opened this issue Jan 10, 2021 · 0 comments
Assignees
Labels

Comments

@johnvittneyk
Copy link

Reporting an Issue or Missing Feature

[BUG] Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". Is there any way to hide search bar from the list view too.

Expected behavior

Search bar for List should not get enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web".
image

Actual behavior

Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web".
image

Steps to reproduce behavior

Run these commands
Connect-PnPOnline -Url $SiteURL -UseWebLogin
Set-PnPSearchSettings -SearchBoxInNavBar ModernOnly -Scope Web

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

  • [] PnP PowerShell for SharePoint Online

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

SharePointPnPPowerShellOnline 3.26.20

How did you install the PnP-PowerShell Cmdlets?

  • Installed through the PowerShell Gallery with Install-Module
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants