Link different Targets to different Search Results pages
Posted: Wed Jul 06, 2022 8:45 am
Hi, is there a way to define the topic to link to when a user clicks on the 'search submit button' in HTML5 output?
I've set up multiple custom Search Results pages.
- Target 1 links to Search Results Skin 1, that is used in Search Results Page 1.
- Target 2 links to Search Results Skin 2, that is used in Search Results Page 2.
- Both Search Results Pages also use their own MasterPage.
- CSS is a shared file that they use both.
When generating the output for Target 2 and clicking on the 'search submit button', it always navigates to Search Results Page 1.
Instead, it should navigate to Search Results Page 2 (which has different custom filters, buttons, etc.).
I suppose I could add custom search bar proxies in both MasterPages (but we also use other MasterPages for different sections of the online help, so this would make it extra complicated, would need to create extra masterpages for different targets then too).
So is there a way to define the url to navigate to when using the general search, for each Target separately?
I've set up multiple custom Search Results pages.
- Target 1 links to Search Results Skin 1, that is used in Search Results Page 1.
- Target 2 links to Search Results Skin 2, that is used in Search Results Page 2.
- Both Search Results Pages also use their own MasterPage.
- CSS is a shared file that they use both.
When generating the output for Target 2 and clicking on the 'search submit button', it always navigates to Search Results Page 1.
Instead, it should navigate to Search Results Page 2 (which has different custom filters, buttons, etc.).
I suppose I could add custom search bar proxies in both MasterPages (but we also use other MasterPages for different sections of the online help, so this would make it extra complicated, would need to create extra masterpages for different targets then too).
So is there a way to define the url to navigate to when using the general search, for each Target separately?