Introduced in Feature Pack 2

Customizing the Management Center to use the new indexed column

Introduced in Feature Pack 2

In this lesson, the Management Center is modified to include Ranking as a sort criteria in the Order Search Result action.

For example:
Order Search Result, Ranking

About this task

Procedure

  1. Navigate to the following directory:
    • WCDE_installdir\workspace\LOBTools\WebContent\config\commerce\marketing\objectDefinitions\activityBuilder
  2. Open the OrderSearchResultFlowElementObjectDefinition.def file and perform the following update:
    
    <PropertyDefinition displayName="${mktMarketingResources.orderSearchResult_orderByField}" propertyName="orderByField" required="true">
    <PropertyValue displayName="${mktMarketingResources.displayProduct_manufacturerName}" value="mfName"/>
    <PropertyValue displayName="${mktMarketingResources.displayProduct_name}" value="name_ntk"/>
    <PropertyValue displayName="${mktMarketingResources.displayProduct_offerPrice}" value="price_USD"/>
    <PropertyValue displayName="${extCatalogResources.displayProduct_ranking}" value="customerRanking"/>
    
    </PropertyDefinition>
    
    Note: The property value is configured to be customerRanking as a float for display purposes.
  3. Save your changes and close the file.
  4. Add the new property to the custom bundle or create your own bundle in the following file:
    • LOBTools\WEB-INF\classes\com\mycompany\commerce\client\lobtools\properties\CatalogLOB_en_US.properties
  5. Save your changes and close the file.

Results