Servigistics InService Publishing and Loading > Additional Information > TAL Customization > Adding a New Search Result Field
  
Adding a New Search Result Field
You can define search results by setting the result field definition. Follow these steps to add a new result field:
1. If the desired result field does not exist in the Types/globalDefinitions.xml file, define the new result field by adding a new entry in the ResultFields section of globalDefinitions.xml.
For example:
<ResultField Label="REGION" Length="255" Name="REGION "/>
2. If desired result field does not exist in the type property, add the newly defined result field in the types of interest.
For example, for the following input data in the XML structure:
<Object>
<region>IN</region>
</Object>
You could add the following result field:
<ResultField Name="REGION">
<FieldMapping TemplateID="ResultField_TYPENAME_Attribute " XPath=" Object ">
<xsl:template xmlns:xsl="http://www.w3.org/1999/XSL/Transform" Type=" XPath">
<xsl:value-of select="region"/>
</xsl:template>
</FieldMapping>
</ResultField>
3. If data is already loaded, re-index the data for new assets. Otherwise, follow the normal data loading process.