This example shows how an IBM
OpenPages® with Watson™ administrator can export file attachments.
Procedure
-
Log on to the application server.
- Edit the ObjectManager.properties file. Configure all properties to
be false except for the following property:
configuration.manager.dump.non.form.based.resources=true
If you want to limit the export to a specific system folder and its subfolders, set the
configuration.manager.dump.resources.root.folder property.
For
example:
configuration.manager.dump.resources.root.folder=/_op_sox_documents/Files and Forms/Company ABC/SubEntity Folder
-
Save the file.
-
Open a command prompt or a shell.
-
Go to the OP_HOME/bin directory where
OP_HOME represents the installation location of the OpenPages with Watson application.
-
Run the following command:
ObjectManager.cmd|sh d c <user> <password> <file_location> <file_name_prefix>
For example, the following syntax creates a file called
ExportedFile-op-file-content.zip in the
C:\TMP
directory.
ObjectManager d c OpenPagesAdministrator password C:\TMP ExportedFile