Forum Discussion
Unable to change Search Placeholdertext in SharePoint Online
- Jun 17, 2021Per the documentation of the cmdlet, the parameter is there but it's not properly document so I suspect that it might be not operational and that's the reason you are having that error
- bgredeJun 17, 2021Copper Contributor
Hi jcgonzalezmartin , Probably that might be the reason. I tried other parameters for SPSearchSettings which are working fine. Hope it's operational soon.
- ganeshsanapJun 18, 2021MVP
bgrede I can use Set-PnPSearchSettings -SearchBoxPlaceholderText "Search in Portal" cmdlet without any problem.
Also, it is working as expected, see output below:
Solution: I think you are using an old version of PnP PowerShell. Update PnP PowerShell modules as given in below documentations & then try above command:
You can find the detailed steps at: SharePoint Online: How to change the placeholder text in the search box
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- bgredeJun 18, 2021Copper ContributorYup. You're right. I was running a legacy version of PnP Powershell. I was able to execute the command after updating. Thank you!