Académique Documents
Professionnel Documents
Culture Documents
Content Management
Copyright © 1994-2004 Documentum, a division of EMC. All Rights Reserved.
DOCUMENTUM, NOW YOU KNOW, UNITING THE WORLD THROUGH CONTENT and the Corporate Logo are trademarks or registered
trademarks of Documentum, a division of EMC, in the United States and throughout the world. All other company and product names are used
for identification purposes only and may be trademarks of their respective owners.
Table of Contents
Preface .......................................................................................................................... 7
List of Figures
List of Tables
Intended Audience
This guide is primarily intended for system integrators and Documentum administrators
who customize and deploy Web Publisher.
Revision History
Development Guide Revision History
Application Knowledge
This guide assumes you have experience working with the following Documentum
applications version 5.2.5 or later:
• Web Publisher
• Documentum Application Installer (DAI)
• Site Caching Services
• Documentum Application Builder (DAB)
• Documentum Administrator
Organization
This guide contains six chapters and one appendix. The table below lists the information
that you can expect to find in each.
Chapter Contents
Chapter 1, Overview Discusses pre-planning tasks to
complete before you deploy from one
repository to another repository.
Chapter 2, Deploying WCM Repository Discusses preparing your target and
Components Using DocApp source repository, and provides steps to
deploy content using DocApps.
Chapter 3, Deploying WCM repository Discusses creating a dump file and a
Components Using Dump and Load load file and running both dump and
load scripts to deploy content.
Chapter 4, Troubleshooting Discusses problems you may have
encountered during your DocApp
installation or dump and load, and
provides solutions or workarounds.
Conventions
This manual uses the following conventions:
Convention Description
→ Represents a flow from one user interface (pop-up or
pull-down menu) item to another.
italic Represents a variable name for which you must provide
a value, or a defined term.
typewriter Represents code samples, user input, and computer output.
bold Represents all user interface (pop-up or pull-down menu)
items.
Related Documentation
The following lists other Documentum documentation you should be familiar with
before attempting to deploy Web Content Management (WCM) repository components.
• The Web Publisher documentation set; Web Publisher User Guide, Web Publisher
Administration Guide, Web Publisher Development Guide, and the Web Development Kit
Applications Installation Guide.
• Documentum Application Builder User Guide describes the concepts and general
strategies for packaging some customizations into a DocApp, deploying the DocApp
to a repository, and using Application Builder.
• Documentum Administrator User Guide describes how to use Documentum
Administrator.
• Docbasic Reference Manual helps application developers create Docbasic procedures.
• Content Server Administrator’s Guide provides information, instructions, and
procedures for the normal system administration tasks of a Documentum
installation. It also describes connection brokers, full-text indexing administration,
managing content storage areas, and repository security.
• FTP Services Administration Guide provides information on configuring FTP Services,
configuring third-party clients, such as Dreamweaver, and transferring files and Web
sites through FTP Services using clients.
This document describes the process of deploying Web Publisher content from one repository
to another repository using a DocApp or dump and load. The deployment information in this
guide is based on successful deployments performed by Documentum Professional Services and
Documentum’s internal documentum.com team.
There are different reasons to deploy. Deployments can be carried out with upgrades to take
advantage of new functionality or with site growth to deal with scalability issues. As your site grows,
your hardware and infrastructure need to grow in support so you might need to move your WCM
application to different hardware. You may also need to deploy because you are moving a test area
to a production area.
To smooth your deployment from one repository to another repository Documentum has created a
list of pointers.
• Consider what to deploy
Deploying concerns everything from custom types in DocApps to the systems on which you
run your deployment.
• Determine your method of deployment
Are you going to use a DocApp or dump and load? Using a DocApp to deploy your content
enables you to selectively move content based on location, and ensures the movement of
necessary and related files. Using dump and load to deploy your content enables you to move
the entire repository.
• Choose the correct tool
Depending on the type of deployment your are planning you may need to use FTP Services, a
DocApp with Documentum Application Installer and Application Builder.
• Consult Documentum experts
As with any move, it is easier to work from experience. Documentum Professional Services, a
Documentum SI or someone familiar with deployments can help to ease the transition.
What to Deploy
Before you deploy you should be aware of all the items to be deployed including custom
items. Some items may need a special deployment path while other items may deploy
directly through dump and load or a DocApp. Following is a list of items that need to
be deployed:
• Object Types (Both Web Publisher object types and custom object types)
• Workflow templates
• Permission Set templates
• Alias sets
• Lifecycles
• Jobs
• Groups
• Site Cabinets (Web Publisher Configuration)
— content templates
— supporting templates and files
— locales (if working with global deployments)
• Web cabinets (Web site content)
• Change Sets
• Server methods
• Custom procedures and scripts
• Customizations to the user interface
• Site Caching Services pre- and post-synchronization scripts
Methods of Deployment
This document describes a deployment using DocApp or dump and load. Deploying
repository content is rarely a cut and dried process. Often, deployments of enterprise
systems require a combination of approaches.
DocApp
Using a DocApp to deploy your content enables you to selectively move content based on
location, and ensures the movement of necessary and related files. DocApp is preferred
when you are deploying WCM applications because often only a portion of the repository
needs to be deployed. DocApps are used to deploy objects within a repository from one
repository to another, and by definition, do not handle items outside a repository.
Common types of items outside a repository include:
• WDK application customization files for example; definition files, JSP pages, and
externalized strings
• Site Caching Services target pre- and post-synchronized scripts
Note: Publishing configurations should not be deployed, but should be manually
recreated in the target repository through Documentum Administrator to match the
source repository.
Choice of Tools
Whether you are upgrading an existing deployment or creating a new deployment,
once you set up your infrastructure you can deploy your Web site content from a test
repository to a production repository. Your choice of deployment tool will depend on
the type of information you are deploying.
For the initial bulk deployment of Web site content from a file system into a repository
this example uses FTP Services. For deployment of repository objects and content this
example uses a DocApp which uses more robust tools such as Application Builder and
Documentum Application Installer.
If you do not configure this file, FTP Services assigns files to the dm_document
object type.
• FTPServer.conf. Sets session parameters and other parameters.
• FileFormatType.conf. Maps file extensions to Documentum Content Server format
types.
Configuration file rules can determine that files copied from a certain directory be given
a certain custom object type upon import into a repository. For example, a custom type
called webdoc, could be assigned to most of your content (html, asp, jsp). A subtype
of webdoc, webdoc_image could be assigned to all of your image files with attributes
customized for the image.
Please refer to FTP Services Administration Guide for information on configuring FTP
Services, configuring third-party clients, such as Dreamweaver, and transferring files
and Web sites through FTP Services using clients.
Once you import a Web site into FTP Services authors can use Dreamweaver or Homesite
to edit existing content. Authors can also use Web Publisher supported in-context
editing to locate content files on a published Web site by navigating the live, staging, or
in-progress version of the site. When authors navigate to the page by browsing the site,
they can then edit the page from a button on the interface. Web Publisher 5.x extends
content editing using an eWebEditPro integration which enables web-based WYSIWYG
editing of HTML-based Web pages.
Depending on your content language you may want to migrate your content to work
with XML/XSL templates or HTML/XML templates to take advantage of Web Publisher
Editor. If your Web site contains a lot of content, you may want to create scripts to
associate the existing content with XML/XSL template files. If you ultimately want to
edit your existing content in the Web Publisher Editor, you must first create XML/XSL
templates for your content and slowly introduce them to your user community.
Eventually, existing content that is edited using an HTML editor will be replaced with
content that is edited using Web Publisher Editor.
Your content must be well formed XML to work with Web Publisher so you may want
to run your content through an XML data validation tool like XML TIDY. XML TIDY
can be accessed from the Web.
Using DocApps
Upgrading existing environments or moving test environments to production
environments involves more than moving content. If you already have a
Documentum-based WCM environment in place you probably have objects, workflows,
lifecycles, groups, users, ACLs, cabinets and folders all of which must be deployed.
Documentum Application Builder and Documentum Application Installer can package
your content, maintain the relationships, and do the deployment for you.
You create a custom DocApp using Documentum Application Builder which acts as a
container for your source WCM content. You then copy the your custom DocApp using
Documentum Application Installer to your target repository.
Contacting Documentum
Customers with a software support agreement can access the support area of
www.documentum.com.
Customers without a software support agreement can access the support area by
following the links to request a user name and password. Documentum responds to
access requests within two business days. Once you have a user name and password,
you can access the support area without delay.
This chapter explains how to deploy WCM repository components using DocApps.
If you want to easily deploy selective content from one location to the next you can create a DocApp
archive and install that DocApp archive to a repository.
Caution: The DocApp that you are preparing to deploy should be your own custom DocApp. You
should never modify the default Web Publisher DocApp. Your custom DocApp should include the
Web Publisher DocApp objects and any custom object types, workflows or lifecycles.
Before you deploy your WCM content using DocApps you should be aware of any critical deployment
issues. Following is a list of issues that you should consider.
• Configuration
Each object’s configurations must be set properly in the source repository before archiving. To
set these configurations, checkout your custom DocApp in Application Builder, and select
DocApp→Set Installation Options. The proper settings are crucial for a successful deployment.
See Documentum Application Builder User Guide for detailed instructions on configuring your
installation options.
• Creation and Modify Dates
The creation and modify dates of objects included in the DocApp archive will not retain the
original dates from the source repository. The dates will be reset to the date of the DocApp
Archive installation to the target repository.
• Object Names
Objects deployed through a DocApp do not remember where they came from (as replicated
objects do), and therefore rely on criteria when installing. Documentum Application Installer
uses two main pieces of criteria to determine if an object already exists in the target repository
and whether to overwrite, version or do nothing to any object. These two pieces of main criteria
for dm_document or its subtypes are object name and locale.
When an archive object is to be installed, Documentum Application Installer uses different criteria
to determine if the object already exists in the target repository and whether to overwrite, version,
or do nothing. Depending on the object type, different criteria might be considered.
Following are two examples of criteria used to determine of any object exists in a target repository.
If you are re-deploying objects to a repository and you change the source object’s name but not
the target object’s name Documentum Application Installer creates a new, duplicate object in
the target repository. If you are upgrading from a previous deployment you would want any
existing objects to be versioned not renamed so you need to ensure that object names are identical
from deployment to deployment.
Object name changes are less of an issue if you are deploying to a clean target repository because
there are no existing objects, and more of an issue for incremental deployments because you may
have existing objects with the same names as objects you are newly deploying.
Exercise caution when changing object names that are, or will be, included in a DocApp.
• Deleted Objects
Archiving may fail if there is a reference to an object that no longer exists in the source repository.
For example, if a server method referenced by a workflow template is deleted, the DocApp
archive operation will fail when it processes that workflow template and the operation will be
unable to resolve the method reference. Likewise, if a group referenced by a workflow task
is deleted, then archiving errors will occur.
Documentum strongly discourages you from deleting groups or users from a repository, because
of the possibility of dangling references.
• Groups, Permission Set Templates and ACLs
While group objects and Permission Set Templates (ACL templates) can be included in a DocApp
and deployed to a target repository, ACLs such as the Web Publisher User Default ACL cannot.
If you want to deploy ACLs from the source repository to the target repository the source
ACLs must exist when you install to the target repository. Be sure you create ACLs or have the
pre-installation procedure create them before you install to the target repository.
Caution: The pre-installation procedure will only create valid ACLs if referenced user and group
entries already exist in the repository. Therefore, it may be unnecessary to include custom groups
in the DocApp, since they must already exist at the time of installation.
Please refer to Developing DocApps for more information on ACLs and the pre-installation
procedure.
• WCM Dependencies
Application Builder is a general use, application-independent Documentum product. DAB
handles objects the same way for all Documentum applications. For example, if workflow
templates are included in a DocApp, then they will be deployed into the target repository even
though they are unusable until an administrator performs the Web Publisher-specific task of
making them accessible to Web Publisher.
Similarly, DAB would have no way of knowing that content objects may require Web Publisher
content templates, Editor rules file or Editor presentation files. If you do not include those
supporting templates (or their folders) explicitly in the DocApp, then DAB will not automatically
include them in the DocApp archive.
• Testing
Incorrect DocApp configurations can cause serious and irreparable damage to a target repository.
Documentum strongly recommends you test your DocApp installation on a clean test repository
before installing on a production (target) repository.
Once you have evaluated your deployment issues you can begin your deployment.
Refer to Documentum Application Installer Installation and Release Notes, and Documentum Application
Builder User Guide for more information on the steps discussed in the following sections.
1. Check the target repository to ensure that the Web Publisher DocApp has been
installed.
2. Using DAB, open the Web Publisher DocApp and set all of the states to Allow
attachment directly to this state for all existing lifecycles in the target repository.
3. Ensure that all lifecycles in the target repository are validated and installed before
your DocApp installation.
4. Ensure that all server scripts are copied to the server bin directory before your
DocApp installation.
Note: When the instructions do not ask you to specify a value for a field or whether to
select an option, accept the default.
1. Using Documentum Application Builder (DAB), open your custom DocApp and set
all default WCM objects to do not overwrite.
You will include all default Web Publisher object types, lifecycles, workflow
templates, procedures, jobs, alias sets, server methods, and permission set templates
into your new DocApp.
a. Open DAB, and log in using your username and password.
b. Click Open existing DocApp from repository.
c. Browse for your custom DocApp and click Open.
Your custom DocApp opens in DAB.
d. Select each default WCM object individually.
e. Choose DocApp→Set Installation Options.
f. In the Upgrade options section, check Do not overwrite; leave target object[s]
alone.
g. In the Location Alias section type,
/System/Applications/WebPublisher
You do not need to set a location alias for every default object. You can leave this
field blank for server methods and alias sets.
Setting upgrade options ensures that the archive process succeeds and prevents
the DocApp installation from making duplicates of existing objects in the target
repository. However, if you have customized any WCM objects, you should set these
items to, ’overwrite’ so you do not lose your customizations.
2. Using DAB, set the following objects to overwrite.
a. Select Web Publisher standard object.
b. Select Web Publisher content files and templates, including custom document
types.
If Web Publisher content objects are included in a DocApp the dm_relation
objects between objects are deployed only if both parent and child objects are
included in a DocApp. Web Publisher content objects include content templates,
Editor Rules files, Editor presentation files, thumbnail files and those objects that
have been created through the template process.
c. Select XML applications used to extract attributes from Web Publisher Editor
or for XML files included in the XML applications.
d. Select custom region configuration (locales).
e. Choose DocApp→Set Installation Options.
f. In the Upgrade options section, check Overwrite in the target repository for
each selected item.
If your WCM deployment is a global one, and you are migrating custom locale
settings, you will only have custom region configurations.
Note: You must manually copy any custom region configurations (XML files)
from the source repository to the target repository in the same location prior to
installation of the DocApp to the target.
3. Include any pre- or post-processing procedures defined in the installation options
for example, localization workflow assignments, and user creation scripts. Include
all standard procedures and set all standard procedures to overwrite or do not
overwrite depending on whether or not you have custom procedures you want to
keep or default procedures you want to overwrite.
a. Include all standard procedures from the DocApp /System/Application/
WebPublisher folder.
b. If you have customized any procedures choose DocApp→Set Installation
Options.
c. In the Upgrade options section, check Overwrite in the target repository.
d. If the procedures are called by any lifecycle state for example, promote, or
custom, in the Upgrade options section check, Do not overwrite; leave target
object(s) alone.
e. If an activity in a workflow calls Inter–Enterprise Workflow Server, in the
Upgrade options section check, Do not overwrite; leave target object(s) alone.
4. Choose DocApp→Set Installation Options and set all lifecycle states to Allow
attachment directly to this state for all lifecycles included in the DocApp.
This setting associates included content with the appropriate lifecycles and lifecycle
states when content is installed to the target repository.
5. Install all lifecycles included in the DocApp.
Be sure to check the installation options for each lifecycle being deployed for the
following:
• Use an alias for Web Publisher User Default ACL
• Create or reuse an existing location alias,
• If desired, define a specific Owner Alias for the lifecycle
6. Include all object types and associated lifecycles for all Data Objects included in
the DocApp.
Object types include any sub-types added to the Acceptable SubTypes list in DAB.
If you do not include all object types, the archive process may fail to properly archive
the objects, and the install process may not properly associate content to correct
lifecycles.
7. Include all action and post-change procedures of all lifecycles included in the
DocApp.
You should also include the standard Web Publisher procedures such as
WCMLifecycleScript, which is referenced by the standard Web Publisher lifecycles.
8. If using alias sets, include the following parts when creating your DocApp.
• standard wpgroups alias set
• all alias sets referenced by lifecycles, set to overwrite
• TranslatorEmailAddress alias set if configuring for engagement services
translations, set to overwrite (applies to Globalization deployments with
Engagement Services only)
• Identify any group dependencies from alias sets
9. Include any custom Web Publisher jobs and methods in your DocApp.
If a job references a method, which they generally do, then the method must also
be deployed. If the method is not deployed the job will run in the target repository
without a method causing the job to error out.
10. Ensure that all workflow templates that have been included in the DocApp are
installed.
Uninstalled workflow templates will be deployed to the target repository but will
be in the uninstalled state. Uninstalled workflows will not display in the list of
available workflows in the user interface. You must manually install uninstalled
workflows to make them usable.
11. Complete all ongoing workflows in the source repository.
Objects that are in an ongoing workflow are flagged and cannot be archived into a
DocApp. Using Web Publisher check to see which objects are in a workflow and be
sure to complete the workflow.
12. For each included custom workflow template, configure a different location alias to
map where the workflow template will be stored in the target repository.
The easiest technique would be to map each one to a specific folder in
the DocApp folder itself. For example, if a custom workflow template is
ACLs
If you have specific ACLs on specific folders, ensure those folders are individually added
to the DocApp and the ACLs are individually specified.
In addition, each Category folder may have a unique ACL associated with it. For
example, engineering_category_acl and marketing_category_acl. These ACLs restrict
author access to authorized users (an Engineering author cannot see the Marketing
Category, and thus cannot create Marketing content), and you want to maintain this
security in the target repository. In the DocApp, you cannot simply include the folder
’Departments’ because this would force you to apply a single Permission Set Template
to the entire folder, which would automatically be applied to its sub-folders and all
objects within. Rather than including ’Departments’, you include both ’Engineering’
and ’Marketing’ explicitly in the DocApp. You assign a separate Permission Set
Template for each folder and assign a location alias which points to /WebPublisher
Configuration/Content Templates/Departments. When this DocApp is archived and
installed in the target repository, Documentum Application Installer recognizes which
part of the location path does not exist in the target repository (namely Departments),
and creates the path for you.
Documentum Application Installer’s automatic path creates DocApp folders within the
Site Cabinet, but not the Site Cabinet itself. Documentum Application Installer will
create the missing pieces of the path but it will not create anything other than dm_folder
objects. The outcome of this is that when viewed in Web Publisher, it will look as if the
content templates were not deployed, but when viewed in another client (Documentum
Administrator, Desktop Client), the content templates are viewable.
1. In Documentum Application Builder, ensure you have included all the appropriate
objects in your custom DocApp.
Server Scripts
Ensure that the WCM server scripts are in the /bin directory prior to installing the
DocApp. The DocApp, and in particular the wcmLifecycleScript relies on these
scripts being present before installing the DocApp. This should not be an issue if the
deployment is using the same Content Server instance as they will already be present in
the /bin directory.
Users
This is one of the manual steps to be performed. Create users in the target repository,
and add users to the appropriate groups. Users are not deployed, and therefore neither
are group memberships.
If you encounter errors, refer to Content Server Administrator’s Guide and Documentum
Administrator User Guide.
These messages are normal responses to the deployment of dm_relation objects, and do
not indicate any errors (they can also be seen in the upgrade process when installing a
DocApp into a Web Publisher repository.
A line that indicates if the pre-installation procedure failed to run would look like:
dmadmindmbasic: <file_path>: No such file or directory
Note: If your first DocApp installation fails, the existing target lifecycles may have
been uninstalled. Double-check the lifecycles and ensure they are all installed before
re-running the DocApp installation.
Before installing your DocApp archive to a repository, make sure that you have super
user privileges in the target repository.
Superuser privilege is the highest level of user privilege in a repository. Users with
the Superuser privilege have a minimum access level of Read of all sysobjects. They
also have the ability to change the object-level permissions of any object.
For more details about Superuser abilities and to learn how to grant Superuser
privilege to a user, see Content Server Administrator’s Guide.
3. In the Select DocApp Archive dialog box, click Browse to find the DocApp archive
folder (which is the same name as the DocApp archive).
4. Select the DocApp archive folder and click OK.
By default, the installer log file is named archive_installerLog.html and is saved
in c:\TEMP.
archive is the name of the DocApp archive folder.
a. To select a different location for the installer log, click Browse (next to the Path
name field) and select a directory.
b. To specify a different filename, type a new name in the File name field.
For more information about the installation log file, see Documentum Application
Builder User Guide.
5. Click OK in the Select DocApp Archive dialog box.
You are returned to the main window.
6. Click Start Installation.
If a message box displays stating that there are connected users, click Yes to continue.
If you specified aliases for objects in your DocApp, then the Resolve Alias dialog
box displays.
7. In the Resolve Alias dialog box displays, select the alias or folder in the repository
under Value:
a. To find the appropriate folder, click browse and select the folder–do not
double-click the folder to open it—then click Select.
b. Select the corresponding user or group from the drop-down list.
8. Click OK.
Application Installer installs the DocApp archive, and executes any post-installation
procedures (if the installation succeeds). Any errors that occur display in the
Installation Status window.
If errors do occur and the text Abort transaction is displayed in the Installation
Status window, do not exit the Application Installer. Refer to the troubleshooting
chapter of the Documentum Application Builder User Guide.
Enable Workows
Administrators must install and add workflows to a pick list so users with fewer
permissions can use workflows. If workflows are created using Documentum
Application Builder but not installed users will not be able to use them. For example, if
ten workflows are available and installed the administrator can add six of them to the
pick list so users such as content authors and content managers can only pick a workflow
from the six displayed. Administrators can also decide to force content authors or
content managers to use a specific workflow by associating a workflow with a template.
If a user chooses that template then they automatically use the workflow associated
with that template.
Publishing Congurations
Create the required publishing configuration objects through Documentum
Administrator.
Please refer to Site Caching Services User Guide for information on creating publishing
configuration objects.
Testing
Once everything is ready, you can test the deployment. Begin with simple tasks like
checking in and checking out content from templates. Create content and promote it to
test the lifecycle. Test a full publish. Documentum recommends that you create some
test scripts with criteria to test the entire extent of the install to ensure that the newly
deployed content is working correctly.
This chapter explains how to deploy the Web Publisher dump and load application.
If you want to easily copy Web Publisher applications from your test machine to your production
machine you can perform a dump and load procedure. Documentum recommends you only perform
this procedure once on a clean repository.
The dump and load modifies the target repository to include the following:
• Content templates with the correct wcm relationship types maintained between the Editor rules
file, presentation file, and thumbnail file
• Site Cabinet content with correct lifecycle states
• Web Publisher application for example, default Web Publisher application
• Custom applications for example, custom lifecycles, workflows, object types
• Object type instances for example, change set in correct lifecycle state
1. If your repository has custom object types be sure to manually add each custom
object type to the dump script.
For example,
append,c,l,type
mytype1
append,c,l,predicate
1=1
2. If your repository has a custom DocApp installed, for example the Accelera DocApp,
and you want to move that DocApp to the target repository, be sure to manually add
the application name to the dump script.
For example,
append,c,l,type
dm_application
append,c,l,predicate
object_name='Accelera'
3. If you have linked content in multiple cabinets through the folder map you must
manually add all cabinets to the dump file.
For example,
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/accelera.com',descend)
1. Open an MS-DOS prompt or a UNIX shell on the machine where the source
repository is installed.
2. At the DOS prompt, type the following command:
iapi32 repository_Name —Urepository_Owner —Ppassword -RDump_File_Name
-Dump Log File Name
For example,
iapi32 DCTMDocbase —Utestuser —Ptestpass -Rdump.api -ldump.log
The command runs the dump script and creates a dump file to the location specified
in the dump script.
Note: If you are using UNIX type iapi, not iapi32.
3. When the command completes you should check the dump log file for errors.
A sample dump file is provided below.
The dump file (dumpscript.api) following is a sample only. This dump
file is provided with your Web Publisher application and is installed to
<DM_HOME>\bin\webPublisher\install during installation. You must include or
exclude types and objects as appropriate for your company. The following script shows
examples that apply only to Documentum’s test environment.
create,c,dm_Dump_record
set,c,l,file_name
c:\harsh_dump.dmp
set,c,l,include_content
####################################################################
# PART A
# SYSTEM OBJECT TYPES
####################################################################
append,c,l,type
dm_workflow
append,c,l,predicate
1=1
append,c,l,type
dmi_workitem
append,c,l,predicate
1=1
append,c,l,type
dmi_package
append,c,l,predicate
1=1
append,c,l,type
dm_alias_set
append,c,l,predicate
1=1
append,c,l,type
dm_acl
append,c,l,predicate
1=1
####################################################################
# PART B
# WEB PUBLISHER APPLICATION DOCAPP
####################################################################
append,c,l,type
dm_application
append,c,l,predicate
object_name='WebPublisher'
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/System/Applications/WebPublisher',descend)
append,c,l,type
dm_xml_application
append,c,l,predicate
object_name='updatexmlcontent'
####################################################################
# PART C
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/WebPublisher Configuration',descend)
#append,c,l,type
#wcm_config
#append,c,l,predicate
#1=1
####################################################################
# PART D
# WEB PUBLISHER OBJECT TYPES
####################################################################
append,c,l,type
wcm_category
append,c,l,predicate
1=1
append,c,l,type
wcm_change_set
append,c,l,predicate
1=1
append,c,l,type
wcm_supporting_doc
append,c,l,predicate
1=1
append,c,l,type
wcm_user_pref
append,c,l,predicate
1=1
append,c,l,type
wcm_locale
append,c,l,predicate
1=1
append,c,l,type
wcm_auto_naming
append,c,l,predicate
1=1
append,c,l,type
wcm_edition
append,c,l,predicate
1=1
append,c,l,type
wcm_edition_fld
append,c,l,predicate
1=1
####################################################################
# PART E
# Skip the wcm_channel_fld and wcm_channel type because Web
# cabinet is dumped as dm_sysobject which will make sure to archive
# all instances of dm_sysobject as well as dm_sysobject's subtype
####################################################################
#append,c,l,type
#wcm_channel_fld
#append,c,l,predicate
#1=1
#append,c,l,type
#wcm_channel
#append,c,l,predicate
#1=1
#append,c,l,type
#ar_prod
#append,c,l,predicate
#1=1
#append,c,l,type
#ar_press
#append,c,l,predicate
#1=1
####################################################################
# PART F
# CUSTOM APPLICATION DOCAPP
####################################################################
append,c,l,type
dm_application
append,c,l,predicate
object_name='Accelera'
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/System/Applications/Accelera',descend)
####################################################################
# PART G
# WEB PUBLIHSER CONTENT
####################################################################
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/harsh.com',descend)
append,c,l,type
dm_sysObject
append,c,l,predicate
folder('/accelera.com',descend)
####################################################################
# PART H
# ERROR MESSAGE
####################################################################
save,c,l
getmessage,c
####################################################################
1. Ensure that the dmcl.ini file on your target machine where Web Publisher is installed
has an entry pointing to the host name on which the target repository is running.
The target repository is the repository on which you want to perform the load
operation.
a. Navigate to your dmcl.ini file.
This file is usually located in your Windows directory.
b. Check for a host name where the target repository is running for example,
host=<hostname>
1. Open an MS-DOS prompt on the machine where the target repository is installed.
2. At the DOS prompt, type the following command:
iapi32 repository Name —Urepository Owner —Ppassword -RLoad
File Name -lLoad Log File Name
For example,
iapi32 DCTMProductionDocbase —UProduser —PProdpass -Rload.api -lload.log
The command runs the load script and loads the dump file, specified in the load
script, to the target repository.
Note: If you are using UNIX type iapi, not iapi32.
3. When the command completes you should check the target repository for errors.
a. Open Application Builder and check to ensure that the default Web Publisher
application and the custom application were correctly transferred.
b. Check for multiple copies of lifecycles, workflows or dm_procedure objects.
There should only be one copy.
c. Check that the default ACL (Web Publisher User Default ACL) is applied to
lifecycles and workflows.
d. Check that user information is correct for example, domain, email, address. If
this information is not correct then correct it using Documentum Administrator.
e. Login to Web Publisher from the target repository. Check that all Web Publisher
Editor templates were transferred correctly.
f. Check that the Folder Map and system property information are correct.
g. Perform some sanity tests on Web Publisher. A sanity test includes such tests
as logging into Web Publisher as each user (content author, content manager,
administrator, Web developer) and adding new content, importing content,
starting a workflow, creating a change set, promoting a document, demoting a
document, power promoting a document, and expiring a document.
Note: Running the load script will load some objects which were not explicitly
mentioned in the dump script from the source repository to the target repository.
The load file (loadscript.api) following is a sample only. This load
file is provided with your Web Publisher application and is installed to
<DM_HOME>\bin\webPublisher\install during installation.
trace,c,10
create,c,dm_load_record
set,c,l,file_name
c:\harsh_load.dmp
set,c,l,relocate
T
save,c,l
getmessage,c
####################################################################
If you are working with a repository whose content has been created using a dump and
load procedure you must recreate the site publishing configuration in the repository.
For more information on site publishing configurations, refer to Site Caching Services
User Guide.
1. Run a DQL query on the target repository to find the last dmi_load_object_record ID
in the repository.
For example,
select distinct load_object from dmi_load_object_record
DQL can be run interactively from Content Server using IDQL32.exe by typing
IDQL32.exe into the Start→Run dialog box and clicking OK. Refer to Content Server
DQL Reference Manual for more information on running DQL.
2. Make sure that you note the object ID.
3. Fetch the last dmi_load_object_record ID and apply the revert command.
a. Start iapi32.exe
b. Type the following revert command on the target repository,
revert,c,dmi_load_object_record ID
This chapter provides troubleshooting tips and procedures in case your DocApp deployment or your
dump and load deployment encounters errors.
This warning means that in the source repository, the state of this lifecycle did not have
its setting set to Allow attachment directly to this state.
The following lines will probably show up repeatedly towards the end of the log file:
Installing dm_relation
Installing dm_relation_type: wcm_categoryWARNING: Relation type wcm_category
already exists. It will be overwritten.
Status: No errors detected, object 'wcm_category' should be installable.
Status: No errors detected, object 'Relation' was installed.
These messages are normal responses to the deployment of dm_relation objects, and do
not indicate any errors (they can also be seen in the upgrade process when installing a
DocApp into a Web Publisher repository.
A line that indicates if the pre-installation procedure failed to run would look like:
dmadmindmbasic: <file_path>: No such file or directory
Note: If your first DocApp installation fails, the existing target lifecycles may have
been uninstalled. Double-check the lifecycles and ensure they are all installed before
re-running the DocApp installation.
D related documentation, 8
deploy
dump and load, 31 T
troubleshooting
R DocApp, 39
references dump and load, 39