Smart Search Results URL String

Les Girvan asked on October 18, 2021 11:44

Hi Guys,

v11.0.49 Portal Engine

I am looking to see if its possible to create any kind of URL string that will allow me to include in an email campaign to show the filtered items on the page?

I am using s 'smart search results' repeater on the page and we have filter for brand, category, gender etc. Previously we used a basic repeater, which allowed us to pass the relevant element of the string into the url, i.e. mydomain/clothing?=women

Now using the smart search results, the filters don't require the URL strings, but naturally on the page you can make the selections to filter the content as required, so wondering if there is a way this can be achieved with smart results?

Regards Les

Recent Answers


Juraj Ondrus answered on October 19, 2021 05:52

If you are using query string mode for the filters then you can do it in the same way - you will pre-configure the condition in the query string. If you are not using query strings for the filters, then you need to pass the information somehow else to the filter - either through the request variables or through cookie value and then adjust the search results web part code to read the values and add them to the search query.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.