Changes the properties of a source from an XML file.
update source --NAME=object_name --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--ENCRYPT_KEY=key]
update source -n object_name -i xml_filename -a method [-e key]
Content of a
<search:name> element in the XML document.
Path to the XML document that configures the object. See source.
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.
Encryption key for passwords in
xml_filename. The key must be at least eight ASCII characters long and include at least one letter and one number. Multibyte characters are invalid. If you omit this option, you are prompted for the key.
This example updates the Doc Library source with the changes in sources.xml:
SES>update source --NAME="Doc Library" --UPDATE_METHOD=overwrite --INPUT_FILE=sources.xml --ENCRYPT_KEY=key2encrypt The object "[name=Doc Library]" was successfully updated.