IBM FileNet P8, Version 5.2            

Deployment scenario (Enterprise Manager only)

The Content Platform Engine provides sample scripts used to deploy a FileNet® P8 application in a production environment.

Important: The use of Enterprise Manager or its related command-line tool to create an export manifest, or to export or import objects, is deprecated. Use FileNet Deployment Manager instead for these operations. For more information, see Exporting and importing.

A customized XML file contains metadata and other objects exported from an object store created in a test environment. The sample described here applies four scripts to this import process. These scripts modify the imported objects to function in the new environment.

The sample deployment scripts set up the objects by using the import facility as follows:

  1. Add Active Directory users and groups data.
  2. Set the default instance security on the new objects as they are created.
  3. Set both default and regular security on the objects in the object store.

After importing and modifying those objects during the import process, you can use the bulk operations utility in Enterprise Manager to update information pertinent to Content Platform Engine.

VBScript sample entry points (Enterprise Manager only)

Use either the manual or automatic import methods by calling the functions from the entry points. When you use a single file, you can code the different entry points to call a different function in the script. You can use either VBScript or JScript.

The VBScript script entry points used during the import process are:
'This function is called once before any importing is done.
 Public Sub PreImportScriptMethod (domDoc,objStore)

'This function is called each time an object is imported but not yet saved.
 Public Sub PreSaveScriptMethod (objGeneric)

'This function is called each time an object is imported and saved for the first time.
 Public Sub PostSaveScriptMethod (objGeneric)

'This function is called once after all importing is done.
 Public Sub PostImportScriptMethod (objStore)

The VBScript script entry point used for bulk operations is:

'This function is called for each object selected by the query.
Public Sub OnCustomProcess (CEObject)

Using import scripts to deploy data

Use either the PreImport or PostImport option for data not bound to specific single Content Platform Engine objects, such as Active Directory information. If you want to apply the data, such as security information, to one or more Content Platform Engine objects, use the PreImport option to create the data and the PreSave option to apply it.

Using bulk operations to deploy data

Build a query to select the objects you want, and then run a script on each object selected by the query. The bulk operations scripts use the OnCustomProcess entry point.

Sample deployment scenario

The FileNet P8 Platform software was used to develop a sample application in a test environment. It is now ready for deployment on a production environment. This sample assumes that the test environment is not in the same Windows domain as the new environment. Therefore, this data includes users and groups in the operating system, Content Platform Engine data such as document classes and other metadata, and the security settings for each type of object. If the users are in the same domain, you must re-create the users and groups.

Data to be transferred during the import process include:

To import these objects and set them up in the new environment, use the following sample scripts:

Creating Users and Groups uses the following FileNet P8-provided functions:

Setting object permissions when the object is imported uses the following FileNet P8-provided functions:

Setting object store permissions uses the following FileNet P8-provided functions:

Updating workflow subscriptions uses the following FileNet P8-provided function:

Important: Use the bulk operations utility to update workflow subscriptions.


Feedback

Last updated: June 2013
ei_deployment_scenario.htm

© Copyright IBM Corporation 2014.
This information center is powered by Eclipse technology. (http://www.eclipse.org)