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:
Procedure
- Create the PricingRule.xml file if it does not exist in
the <install_dir>/extensions/sbc/webpages/sbc/metadata/advancedsearch
folder.
- Create an element, Attribute, as
a child element of the Attributes root element.
- Set the value of the Name attribute to TargetAttributeValue.
- 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">
</Attribute>