ScopeUrl
specifies the URL for the search
provider.
To find the URL for a search provider:
- Open Internet Explorer®.
- Open the provider's web page where the web search is
performed.
- Search on the word
TEST
. Note the new URL that appears.
- Optional: In the address bar, remove any obvious extra
characters from the resulting URL. Search again, and repeat, until
you have the minimum URL required for searching.
Example:http://search.fabrikam.com/results.aspx?q="TEST"&language=en
: removelanguage=en
to becomehttp://search.fabrikam.com/results.aspx?q="TEST"
- Copy the URL, and paste it into Notepad.
- Replace
TEST
with {searchTerms}.
Example:http://search.fabrikam.com/results.aspx?q="TEST"
becomeshttp://search.fabrikam.com/results.aspx?q="{searchTerms}"
- Replace XML-reserved characters: < > " ' &. See the
table below, XML-Reserved Characters, for a list of
replacement characters.
Example:http://search.fabrikam.com/results.aspx?q="{searchTerms}"
becomeshttp://search.fabrikam.com/results.aspx?q="{searchTerms}"
- Copy the URL and paste it into Windows® System Image
Manager.
XML-Reserved Characters:
Replace this character | With this text |
---|---|
> |
|
< |
< |
" |
" |
' |
' |
& |
& |
Values
URL |
Specifies the URL for the search provider. URL is a string. |
This string type does not support empty elements. Do not create an empty value for this setting.
Valid Configuration Passes
specialize
Parent Hierarchy
Microsoft-Windows-IE-InternetExplorer | SearchScopes | Scope | ScopeUrl
Applies To
For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.
XML Example
The following XML output shows how to set search providers.
Copy Code | |
---|---|
<SearchScopes> <Scope wcm:action="add"> <ScopeDefault>true</ScopeDefault> <ScopeDisplayName>MyFirstSearchProvider</ScopeDisplayName> <ScopeKey>SearchProvider1</ScopeKey> <ScopeUrl>http://www.contoso.com/search?q={searchTerms}</ScopeUrl> </Scope> <Scope wcm:action="add"> <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName> <ScopeKey>SearchProvider2</ScopeKey> <ScopeUrl>http://search.fabrikam.com/results.aspx?q="{searchTerms}"</ScopeUrl> </Scope> </SearchScopes> |