You need to sign in to do that
Don't have an account?
Steve West
Federated search syntax for Google opensearch site query
We are setting up an external site for Federated Search to search our online help library. We are trying to use the OpenSearch Google syntax to limit the search to a particular URL like this:
<Url method="get" type="text/html" template="http://www.google.com/search?q={searchTerms}&as_sitesearch=outgoing.more4apps.com/doco"/>
I have tried multiple variations of the URL but the validation rejects the XML file with an error:
Missing template URL for search with supported format for element "OpenSearchDescription" for source ...
If I remove the site parameter it works fine. What is the syntax I should use to get the Google OpenSearch to use a site?
Thanks.
Recommend reviewing the example mentioned in
https://developer.salesforce.com/docs/atlas.en-us.federated_search.meta/federated_search/federated_search_examples.htm
Request: URL Template Parameters
https://developer.salesforce.com/docs/atlas.en-us.federated_search.meta/federated_search/federated_search_url_template_parameters.htm
https://www.jitendrazaa.com/blog/salesforce/federated-search-in-salesforce/
If this information helps, please mark the answer as best. Thank you
Thanks.