How to Customize Metadata and Mappings

Build custom reports on top of your custom data that let you extract custom metadata from your documents.

  • For example, you might have a custom property for all documents named CustomerName.
  • Configure the Analytics custom metadata recording feature to pick up this property when this property is requested from a result item display template.
  • This item can be pushed along with your other recorded metadata into the index.

To configure this feature, use the following steps:

  1. Open DefaultModuleSettings.js, located at <SmartHub_install_dir>\modules\SmartHubResourceLoader\.

  2. Go to the file and scroll down to customProperties, around line 9.



  3. Enter the name of your custom properties into customProperties:"",. To enter more than one property, use a comma (,) delimited list.
  4. Copy the customPropertiesparameter and values into your custom page settings file (not shown in the screenshot below), such as CustomResultsSettings.js for the Results.html page.
    1. For more information about custom files, see How to Customize Your SmartHub User Interface.


User Profile Mappings

  1. Go to the DefaultModuleSettings.js file and scroll down to UserProfileMappings, shown in the following graphic:



  2. Modify the names of the User Profile Properties with your properties.
    1. For example, PreferredName can be modified in LastName.



  3. Copy the UserProfileMappings parameter and values into your custom page settings file, such as CustomResultsSettings.js for the Results.html page.
    1. For more information about custom files, see How to Customize Your SmartHub User Interface.