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.
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.
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 offers (under its "Advanced" page) to install all files found in the local system's Program Files\FileNet\Content Engine directory for XML files with "AddOn" in the file name. You can refer to the FileNet P8 domain root's property sheet's Import AddOns page later to view or modify.
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. By using Enterprise Manager, you can add your user-defined components to the registry's list of FileNet P8 components that load automatically during object store creation.
You cannot use automatic object store population 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.
Use the Auto-Import Scripts utility to add user-defined components that the system will install automatically during object store creation. Use the utility, available through the Enterprise Manager root property sheet, to select an XML file and to associate scripts to run automatically at various points during the import process.
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 feature.
If the object store creation fails because of duplicate objects in the XML file, you can remove the XML file by using the Auto-Import Scripts feature.