Forum Discussion
Christian Badouin
Aug 16, 2018Copper Contributor
Search Result Block on List Column Items
Hi there, I have the following problem. I have a list in SharePoint with several company addresses. One column contains the city where the company is located. Now I want to customize my search re...
spucelik
Microsoft
Aug 16, 2018Chrisitan...do you have a managed property created for the columns you want to include in your search results? If not you can include them in a site column and content type and it will be created automatically. Once you have this then you can include it in you're display template.
- Christian BadouinAug 17, 2018Copper Contributor
Hi Steve,
thanks for your response.
Yes I have a managed property created for it. The problem is I don't want to search this property but I want to use values stored in this column to be used as a trigger for a result rule.
So e.g., when I have a column "Location" with Values "New York", "Berlin", "Paris", ... I want to be able to search "Berlin" and get a custom result block. But I have no clue how I can add this managed property / column as a trigger to a custom result rule or if it is possible at all.