update searchAttr

Changes the properties of a search attribute from an XML file. You can add translations of search attribute names and LOVs to the default search attributes.

See Also

updateAll searchAttr

Syntax

update searchAttr --NAME=object_name --INPUT_FILE=xml_filename --UPDATE_METHOD=method

or

update searchAttr -n object_name -i xml_filename -a method

Parameters

object_name

Content of a <search:name> element in the XML document.

xml_filename

Path to the XML document that configures the object. See searchAttr.

method

Method to use when updating the properties of an object:

  • add: Adds new properties and overwrites existing properties, but does not delete existing properties that are omitted in the XML file.

  • remove: Removes existing properties that are defined in the XML file.

  • overwrite: Replaces the existing property values with the new values.

Example

This example overwrites the parameter settings for the Owner search attribute:

SES>update searchAttr --NAME=Owner --UPDATE_METHOD=overwrite --INPUT_FILE=searchattrs.xml
 
The object "[name=Owner]" was successfully updated.