Hi All,
I'm trying to configure a custom display template for the search results in sharepoint 2013. If the search results belongs to a "specific content Type" then I need to display the results in a "Custom display template".
Following configurations are done
1) Created a new Result source by name "Items Matching MY Content Type". In the "Query Transform" the content type is configured and test preview displays result based on the MYContentType.
2) While creating a new Result Type, the following properties has been set :-
Which source should results match? :- "Items Matching MY Content Type"
What types of content should match? :- XML
What should these results look like? :- Custom Display Template
After doing the above configurations, while making the search the xml files with "MyContentType" are not using the Custom Template to display the results.
However it works if I change the "Which source should results match? :- " to "All Sources" in the Result Type configuration.
Is this a known issue or am I doing something wrong? Can anyone please guide.
Thanks in advance Roy Joyson