Remove a search attribute
You may want users to exclude a search attribute when performing an advanced search. In such a scenario, you can remove the corresponding attribute from the search criteria.
About this task
To remove a search attribute:
- Create a corresponding Advanced Search metadata file if it does not already 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 the name of the search attribute you want to remove.
- Set the value of the corresponding Action XML attribute
The search attribute is removed.Note: Ensure that you rebuild the enterprise archive (EAR) after removing a search attribute.