Last active
August 19, 2022 21:50
-
-
Save alirobe/4264770 to your computer and use it in GitHub Desktop.
Enable Chrome 'quick-search' for SharePoint Intranets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
add inside the 'head' element of master page. | |
replace title="Intranet" with the name of your intranet (if branded) | |
--> | |
<link rel="search" title="Intranet" type="application/opensearchdescription+xml" href="/Style%20Library/opensearch.xml" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<!--under 16 chars. no spaces--> | |
<ShortName>Intranet</ShortName> | |
<!--under 48 chars--> | |
<Description>Search your Intranet</Description> | |
<Tags>Intranet</Tags> | |
<Query role="example" searchTerms="test"/> | |
<!-- UPDATE THIS URL - SP Standard/Enterprise: use search center results URL - make sure that ampersands are encoded --> | |
<Url type="text/html" method="get" rel="results" template="http://INTRANETURL/_layouts/OSSSearchResults.aspx?k={searchTerms}&s=All%20Sites"/> | |
</OpenSearchDescription> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment