I have now round about 20 custom content types developed. E.g. (planing, presentation, agenda, sample etc.).
Problem 1:
I want to save those content types into a refinable string, so I am able to get only those content types in an refinement panel.
I don't want to use SPContentType, because that contains all content types.
Should I handle that with a new result source which contains the content type ids?
Problem 2:
I want to be able to click in the refinement panel e.g. onto presentation
and after that the other refiners are getting changed or I get redirected to a new searchresults page which sounds better to me...
The default refiners at /results.aspx could be:
Content-Type
Language
Audience
If "presentation" is selected the refiners should be:
Content-Type
Language
Responsible
Author
Audience
But I only want that to change if the content type presentation
is selected. Only then the refiners Responsible
and Author
should be populated.
Does anyone know how to do that?
I guess there should be a search results page for each content type?
There the search results should be filterd for the content type?
If so, how do I configure the redirection:
If content type "presentation" at /results.aspx, then go to /presentations.aspx?
I guess I have to create my own display template for the refiner content type
?
How to put in those links to the new search result page?
I know, a lot of "I guess", but I am not that good with search customization by now...
Hope it is clear, if not, please ask more in the comments.