createAll searchAttr

Creates all custom search attributes described in an XML file.

See Also

create searchAttr

Syntax

createAll searchAttr --INPUT_FILE=xml_filename [--DUPE_METHOD=action]

or

createAll searchAttr -i xml_filename [-d action]

Parameters

xml_filename

Path to the XML document that contains the object descriptions. See searchAttr.

action

Action to take when an object already exists:

  • error: The createAll command fails with an error. (Default)

  • ignore: The existing object description is kept.

  • overwrite: The new description replaces the existing object description.

Example

This example creates three objects described in searchattrx.xml. A fourth object already exists.

SES>createAll searchAttr --INPUT_FILE=searchattrs.xml --DUPE_METHOD=ignore
 
createAll operation succeeded for type "searchAttr".
 
  3 object(s) with status CREATE_SUCCEEDED
  1 object(s) with status DUPLICATE_IGNORED