You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #3044 on April 24, 2023 07:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior
the code
`$goToPage = "https://ecgmcdev.sharepoint.com/teams/ProjectsHub/SitePages/ProjectRelatedSearch.aspx"
Set-PnPSearchSettings -SearchPageUrl $goToPage -Scope Site -Connection $siteConn -SearchBoxPlaceholderText "Search Project $projectNumber"`
Should redirect the search to https://ecgmcdev.sharepoint.com/teams/ProjectsHub/SitePages/ProjectRelatedSearch.aspx ?q={my search text}
Actual behavior
It does change the place holder but it redirect to "/_layouts/15/search.aspx/siteall?q={my search text}"
Steps to reproduce behavior
Run the code above
What is the version of the Cmdlet module you are running?
2.1.1
Which operating system/environment are you running PnP PowerShell on?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions