/
Technical documentation - URL for search
Technical documentation - URL for search
This guide describes how to refer to search results using URL.
This functionality is available in version 5.0 (new UI) and later.
Usage
Basig usage is to add attribtues to the url where search term and categories are accepted. The categories need to match the configured categories in profile.config.
https://www.mysite.com/AssertWeb/en/site/NewSearch?query=1234567890
Adding categories URL should look like this.
https://www.mysite.com/AssertWeb/site/NewSearch?query=1234567890&category=Product,PartAndKit
In this case the categories Product and PartAndKit must be defined in the SearchManager in profile.config.
Advanced usage
For advanced usage where facets are selected it is possible to include a json detailing search criterias. Sample json is as below.
https://www.mysite.com/AssertWeb/en-GB/site/NewSearch?selection=
{"queryText":"qd","selectedCategories":["PartAndKit"],"selectedFacets":[{"id":"PresentationName","values":[{"name":"query","value":"bracket"}]},{"id":"Colour","values":[{"name":"query","value":"black"}],"column":true}]}
It is also possible to combine the two methods.
Related articles
, multiple selections available,
Related content
Technical documentation - Search Manager version 4.5 and 5.0
Technical documentation - Search Manager version 4.5 and 5.0
More like this
Technical documentation - Search Manager and Search version 5.1 and later
Technical documentation - Search Manager and Search version 5.1 and later
More like this
How to add search terms
How to add search terms
More like this
Technical documentation - Canvas Search
Technical documentation - Canvas Search
More like this
How to configure filter regex to identify patterns
How to configure filter regex to identify patterns
More like this
Technical documentation - Search
Technical documentation - Search
More like this