Example - removing a search attribute

You can remove a search attribute.

About this task

You may, for example, want users to exclude the target attribute as a search criteria from the Advanced Pricing Rule Search screen. In such a scenario, you can remove the corresponding XML attribute from the PricingRule.xml file.

To remove the target attribute:


  1. Create the PricingRule.xml file if it does not exist in the <install_dir>/extensions/sbc/webpages/sbc/metadata/advancedsearch folder.
  2. Create an element, Attribute, as a child element of the Attributes root element.
  3. Set the value of the Name attribute to TargetAttributeValue.
  4. Set the value of the corresponding Action XML attribute to DELETE.

    The search attribute is removed.

    Following is the attribute element that is removed:
    <Attribute Name="TargetAttributeValue" Action="DELETE">