This section will cover in detail the steps for setting installation options for DocApp objects and explain how to create and install a DocApp archive.
All object types are stored in the system cabinet corresponding to the name of the Docbase (dev_doc
in our case). Select the object type to be included in the DocApp and click the Insert button (refer to figure 25.3).
Include all other objects that are to be deployed to the target Docbase via the menu option Insert | Object from the Docbase as depicted in figure 25.4:
Object |
Menu option |
---|---|
Object Types |
Object Type |
Document Lifecycles |
Document Lifecycle |
Workflow Templates |
Workflow Template |
Permission Set Templates |
Permission Set Template |
Alias Sets |
Alias Set |
Formats |
Format |
XML Applications |
XML Application |
Data Objects | |
Custom Folder ( |
Folder |
Presentation Files folder ( |
Folder (If Presentation files need to be included selectively, choose menu option Document.) |
Rules Files folder ( |
Folder (If Rules files need to be included selectively, choose menu option Document.) |
Template Files folder ( |
Folder (IfTtemplate files need to be included selectively, choose menu option Document.) |
Folder Map |
Document |
Web Cabinet ( |
Cabinet |
After you have included all objects that need to be migrated, the left-hand pane of the Application Builder will appear as shown in figure 25.5:
Note that we have included default Web Publisher object types such as wcm_category, wcm_channel,
and wcm_channel_fld
since we need to migrate template categories, content, and web cabinet (channel) folders from the source Docbase to the target Docbase.
Documentum 5.3 Update
Documentum release 5.3 has introduced a new feature called Modules in Documentum Application Builder. Modules are nothing but elements of executable code that are represented in the Docbase repository as a dmc_module
folder object type. For example, Business Objects in Documentum can be treated as a kind of module. This allows you to package your business object classes and supporting files (in the form of JAR files) in a DocApp that can be installed via Documentum Application Installer on a target environment.
Setting installation options is extremely important because by doing so you provide a lot of vital instructions to the Application Installer for installing objects in the target Docbase such as:
Let us take an example of custom lifecycle object Custom_Lifecycle
and set its installation options.
Custom_Lifecycle
object from the left-hand pane and choose menu option DocApp | Set Installation Options to set the installation options for the custom lifecycle object (refer to figure 25.6).As shown in figure 25.6, select the Upgrade options checkbox for overwriting the Custom_Lifecycle
object in case it already exists in the target Docbase.
After the lifecycle object is installed in the target Docbase, Documentum assigns a system-generated ACL (Permission Set of the user who installs the DocApp) to it. You can, however, direct the system to assign a specific ACL to the lifecycle in the target Docbase by defining a Permission Set for it.
This can be done by clicking on the New button shown against the Permission set alias field, which opens up an Alias Object Dialog screen.
In the Alias Object Dialog screen shown in figure 25.7, fill in the following fields:
Figure 25.8 shows the access permissions (rights) available to the various Web Publisher groups within the WebPublisher User Default ACL.
Note that you can even leave the Value field blank and instead select the checkbox so that the system prompts you to specify an ACL at run time when you are installing the DocApp in your target Docbase via the Documentum Application Installer tool.
After filling in the various fields, click on OK.
Similar to the way you have specified a Permission Set for the object in the target Docbase, you can specify the following:
Refer to figure 25.9; after specifying the installation options, click on Apply and OK. Figure 25.10 lists the correct Location Alias installation options for the other objects included in your custom DocApp. You could additionally specify particular Permission set alias and Owner alias values for each of these, if need be.
Do not forget to check-in the DocApp after you have completed setting installation options for all included objects in your custom DocApp.
Object |
Location Alias |
---|---|
Object Types |
N/A |
Document Lifecycles |
|
Workflow Templates |
|
Permission Set Templates |
N/A |
Alias Sets |
N/A |
Formats |
N/A |
XML Applications |
|
Data Objects | |
Custom Folder |
|
Presentation Files |
|
Rules Files |
|
Template Files |
|
Folder Map |
|
Web Cabinet |
|
Refer to figure 25.12; click on OK, allowing the system to create an archive of your custom DocApp in the specified folder location. Usually the archive creation process takes a few minutes but can vary substantially if the number of objects included in your DocApp is very large. Archiving time can even go up to 5 hours for DocApps containing around 1000 objects.
Once the DocApp archive has been created, browse to the specified location on your machine and open the archive log file (<Your DocApp name>_ArchiveLog.html
) to locate any system errors/warnings. It is advisable to look for warnings with the keyword unable
to find out any serious failures.
Once you have the DocApp archive of the source Docbase, you can install it on the target Docbase via Documentum Application Installer. Before installing the archive, you may want to clean up the target Docbase and perform any pre-installation steps specific to your application.
It is better to set up Cabinets, Folders, Web Cabinets, Users/Groups, etc. in the target Docbase before you install the DocApp archive. If you want to avoid such manual activities, you can write pre-installation procedures and include them in the DocApp as we saw in step 3 earlier.
dmcl.ini
file to point to the correct DocBroker host for the target Docbase.Launch Documentum Application Installer from your machine and choose the target Docbase name from the Docbase dropdown (PN6549 Docbase in this example).
Provide Docbase user credentials for login authentication purposes and click on OK (refer to figure 25.13).
Click on OK.
If there are users connected to the target Docbase, the system will prompt you a message stating this. Click the Yes button to continue with the DocApp installation procedure.
After the installation has been completed, click the Quit Installer button to exit the DocApp Installer application. Open the installation log file to check for errors or warnings during the installation procedure.
3.149.239.100