Automatic object store population

You can set up Enterprise Manager to populate an object store automatically with user-defined objects. You can also add scripts to the import process that customize the imported objects for the new environment.

When should I customize automatic object store population?

Consider setting up automatic object store population only if all new object stores need the same set of user-defined components. In this case, populating all new object stores with user-defined components saves you from manually importing objects after creating the object store.

How does the Content Engine populate a new object store?

The Content Engine comes with a set of XML files called AddOns that define the default objects and properties that Enterprise Manager automatically imports into each new object store. Each time you create a new object store, the object store wizard will offer (under its "Advanced" page) to install all files found in the local machine's Program Files\FileNet\Content Engine directory for XML files with "AddOn" in the filename. You can refer to the P8 domain root's property sheet's Import AddOns page later to view or modify.

How do I customize the default objects and properties added to a new object store?

You can extend the default set of objects and properties added to each new object store. This requires creating an XML file that contains only user-defined object store components. Using Enterprise Manager, you can add your user-defined components to the registry's list of FileNet components that load automatically during object store creation.

Why should I prepare customized XML files?

Automatic object store population does not allow you to import objects selectively. Instead, the system attempts to import all objects included in the XML file. If the Create an Object Store Wizard detects duplicate object store components in an XML file, Enterprise Manager cannot successfully create an object store. Therefore, you must carefully prepare your XML file for automatic object store population.

How do I add user-defined components to automatic object store creation?

Enterprise Manager provides an easy-to-use utility that lets you add user-defined components the system installs automatically during object store creation. Available through the Enterprise Manager root property sheet, the Auto-Import Scripts tab allows you to select an XML file and associate scripts to run automatically at various points during the import process.

When are customized objects created?

During object store creation, the system first populates the default objects and properties imported from the original set of XML files. Next, the system populates the object store with the components included in your customized XML file in a predefined order. The system also runs any associated scripts according to the run type as defined when you added the scripts through the auto-import scripts utility.

What should I do if the object store creation fails due to duplicate objects?

If the object store creation fails due to duplicate objects in the XML file, you can remove the XML file using the auto-import scripts tool.