update skinBundle

Changes the properties of a skin bundle from an XML file.

See Also

"Search Interface Customization: Skin Bundles"

Syntax

update skinBundle --NAME=object_name --INPUT_FILE=xml_filename [--ATTACHMENT_LIST=list_filename] --UPDATE_METHOD=method

or

update skinBundle -n object_name -i xml_filename [-h list_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 skinBundle.

list_filename

Path to the text file that lists the files in the skin bundle. This parameter is optional when the XML description does not update the files. See the Notes for "create skinBundle".

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.

Notes

After updating a skin bundle, restart the middle tier:

ORACLE_HOME/bin/searchctl restart

Example

This example updates the Holiday skin bundle.

SES>update skinBundle --NAME=holiday --INPUT_FILE=skins_update.xml --ATTACHMENT_LIST=skins/resources.lst --UPDATE_METHOD=remove
 
The object "[name=holiday]" was successfully updated.