Creating Sitecore Index Part - 3
Introduction: In this post we will try to index Complex Fields like DropLink, DropList and so on. In this Part we will only look at DropLink. The process will remain almost the same From Sitecore Configuration perspective. Only change you might come across is Business logic in Asp.Net MVC. Since these field have reference to another Item (and not simple type) and sometimes create different objects, we cannot add them as Simple Field. We will be creating Computed field for them. Description: As per part-2, we have now successfully added simple fields. let us see how to add Complex field like Droplink. The Idea here is, to create a business logic that simplify the Output value. Droplink holds GUID of the Item that is been selected. We will try to fetch the Item thats is selected in DropLink, then pull the values as JSON to be indexed. Background: We will add Droplink to existing Template (News). fig.1 fig.2 We will add the newly create Field to be part of indexing. let...