ComponentTool Component Files Overview Enabling and Disabling Components

Working with Standard, Server, and Custom Components 3-5

3.1.3 ComponentTool

ComponentTool is a command-line utility for installing, enabling, and disabling components in Oracle Content Server. After installing a component, ComponentTool automatically enables it. ComponentTool is located in the DomainHomeucmcsbin directory.

3.1.4 Component Files Overview

When you define a custom component, you create or make changes to the following files: ■ The idcshort-product-id_components.hda file, which tells Oracle Content Server what components are enabled and where to find the definition file for each component. ■ The component definition or glue file, which tells Oracle Content Server where to find the resources for the custom component. ■ Different custom resource files, which define your customization to standard Oracle Content Server resources. ■ Template files, which define custom template pages. ■ Other files which contain customization to Oracle Content Server graphics, Java code, help files, and so on. For more detailed information about these files, see Section 3.2, About Directories and Files. Any type of file can be included in a component, but the following file formats are used most often: ■ HDA ■ HTM ■ CFG ■ Java CLASS If you build or unpackage components in the Component Wizard, or upload and download components in the Component Manager, you work with the following files: ■ A compressed ZIP file used to deploy a component on other Oracle Content Server instances. ■ A manifest.hda file that tells Oracle Content Server where to place the files that are unpackaged or uploaded from a component ZIP file.

3.1.5 Enabling and Disabling Components

By definition, a component is enabled when it is properly defined in the Components ResultSet in the idc_components.hda file. A component is disabled if there is no entry or the entry is not formatted correctly. There are several ways to enable or disable a component: ■ ComponentTool: Run DomainHomeucmshort-product-idbinComponentTool to enable or disable a component. For example: ComponentTool -enable component_name 3-6 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management ■ Component Wizard: Choose Enable or Disable from the Options menu. For more information, see Oracle Fusion Middleware System Administrators Guide for Oracle Content Server. ■ Component Manager: Select the checkbox next to a component name to enable a server component specified on the Component Manager screen. Clear the checkbox next to a component name to disable a server component on the Component Manager screen. For more information, see Oracle Fusion Middleware System Administrators Guide for Oracle Content Server. ■ Advanced Component Manager: On the Advanced Component Manager page, select a component name, and click Disable to disable the component, or click Enable to enable the component.

3.2 About Directories and Files