Administration Guide
P/N 300-007-277 A01
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
Copyright © 2007–2008 EMC Corporation. All rights reserved.
Published July 2008
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION MAKES NO REPRESENTATIONS
OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY
DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.
All other trademarks used herein are the property of their respective owners.
Table of Contents
Preface ........................................................................................................................... 9
List of Figures
List of Tables
This guide provides step-by-step procedures for configuring and administering Documentum XML
Transformation Services. This manual also includes information about modifying profiles to extend
the functionality of XML Transformation Services.
You can find additional information about XML Transformation Services in the following documents:
• XML Transformation Services Installation Guide
• XML Transformation Services Release Notes
See the appropriate Documentum product documentation for information on related Documentum
products. For example, many administration and configuration tasks for XML Transformation
Services are best performed through Documentum Administrator; consult the Documentum
Administrator User Guide for guidance.
Intended audience
The primary audience for this guide is the system administrator who maintains this
software. The secondary audience is the system integrator who wishes to extend XML
Transformation Services functionality.
Familiarity with Microsoft Windows and the Documentum system is essential.
Revision history
The following changes have been made to this document.
This chapter contains a brief overview of XML Transformation Services. It gives a basic description
of the Documentum environment and relates the XML Transformation Services components within
the installation.
This chapter contains the following sections:
• What is Content Transformation Services?, page 11
• What is XML Transformation Services?, page 12
• Features of XML Transformation Services, page 19
• Supported transformations by source and target formats, page 20
The Documentum Foundation Classes (DFC) are a set of Java classes that provide
access to Content Server functionality. Web-based applications, such as Digital Asset
Manager and Web Publisher, make calls directly to the DFC or indirectly through the
Web Development Kit (WDK).
DFC must be installed on the XML Transformation Services host. If you are installing
XML Transformation Services on a host that already has the DFC, XML Transformation
Services may be able to use the existing DFC, provided they are the correct version.
The XML Transformation Services installer checks for existing DFC on the host. If the
DFC are detected, they will be replaced by the version included with the installer.
Refer to the relevant version of the Documentum System Migration Guide available at the
Documentum Download Center at https://emc.subscribenet.com/control/dctm/index for
more information on migration issues. Follow the Documentum Foundation >
Documentation for Documentum 6.5 link.
Any applications that were dependent upon the older version of the DFC will have
to be upgraded as well. For more information on the DFC and their effect on other
applications, refer to your specific Documentum application documentation.
If your version is newer than the DFC included with the installer, it will be refreshed.
The XML Transformation Services plug-in enables users to transform a variety of files
from one format to another (for example, from XML to PDF or HTML).
During an installation of XML Transformation Services, this plug-in is installed:
• XPUB — transforms XML (based on DocBook and DITA standards), DITA, and
DITAMAP files to PDF, HTML, ZIP, or CHM; DITAMAP files to Java Help, Eclipse
Help, RTF, and DocBook; and custom XML to PDF.
Plug-ins are extensible. You can configure plug-in types and formats, and you can
add new plug-ins to the system to support new file formats as required. Information
about creating and adding new plug-ins is contained in the Content Transformation
Services Product Development Guide, or contact your Documentum account or support
representative for more information.
Transform handlers
Unique to XML Transformation Services is the use of transform handlers. While other
Content Transformation Services plug-ins perform transformations directly, the XPUB
plug-in delegates transformation requests to the transform handlers. Each doctype
family supported by XML Transformation Services has their own transform handler.
The following transform handlers are installed with XML Transformation Services:
The following steps describe how XML Transformation Services produces PDF
renditions in response to client requests:
1. The client application sends the rendition request to the Documentum Content
Server.
Note: XML Transformation Services modifies the document object, so it cannot
process locked (checked out) documents.
2. Content Server stores the request in a queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds a PDF rendition request in the queue, it
checks the input_doctype_family name token to distinguish between a DITA and
DocBook file. The request is passed to the appropriate transform handler for the
document.
5. The transform handler generates a PDF rendition based on what the default profiles
specify.
6. Content Server adds the PDF rendition to the object in the repository.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users
The following steps describe how XML Transformation Services produces HTML
renditions in response to client requests:
1. The client application sends the rendition request to the Content Server.
Note: XML Transformation Services cannot process documents that are locked
(checked out from the repository).
2. Content Server stores the request in a special queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds an HTML rendition request in the queue,
it checks the input_doctype_family name token to distinguish between a DITA and
DocBook file. The request is passed to the appropriate transform handler.format
of the document.
5. XML Transformation Services invokes the corresponding application to open the
file and then saves an HTML version.
• If the result is a single HTML file, XML Transformation Services sends this file
to the Content Server.
• If the result consists of multiple files (for example, HTML, graphics, and XML
files), XML Transformation Services creates a Zip file containing these files,
and sends the Zip file to Content Server. The Zip file includes any folders the
application creates to contain these files.
6. Content Server adds the HTML or Zip file to the repository as a rendition of the
document object.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users
can view the rendition from the client application.
Each time a transformation is performed, an additional rendition is created for the
source file.
Figure 4, page 19 illustrates this rendition process.
1. The client application sends the rendition request to the Content Server.
Note: XML Transformation Services cannot process documents that are locked
(checked out from the repository).
2. Content Server stores the request in a special queue called dm_queue.
3. XML Transformation Server polls dm_queue at predefined intervals, and retrieves
any pending requests.
4. When XML Transformation Services finds a CHM rendition request in the queue,
it checks the input_doctype_family name token to distinguish between a DITA
and DocBook file. The request is passed to the appropriate transform handler for
the document.
5. XML Transformation Services invokes the corresponding application to generate the
desired rendition for the XML content and then saves an CHM version.
• If the result is a single-file rendition, XML Transformation Services sends this file
to the Content Server.
• If the result consists of multiple files (for example, HTML, graphics, and XML
files), XML Transformation Services creates a Zip file containing these files,
and sends the Zip file to Content Server. The Zip file includes any folders the
application creates to contain these files.
6. Content Server adds the single file to the repository as a rendition of the document
object.
An object represents a parent file, with all of its associated graphics, text, and
renditions, in the repository. Once a rendition has been added to the object, users
can view the rendition from the client application.
Each time a transformation is performed, an additional rendition is created for the
source file.
Figure 4, page 19 illustrates this rendition process.
Feature Comments
Runs as a Windows Service and
intelligently handles exceptions raised
by native applications.
Transforms XML, DITA, and XML source files in DITA and DocBook
DITAMAP files into PDF, HTML, standards are supported.
ZIP*, Compiled HTML Help (CHM);
Eclipse Help**, Java Help**, RTF**,
DocBook.**
Transform XML to PDF. The target output is PDF only.
Filters the output based on a variety By default, filters for operating systems,
of parameters. audience levels, revisions, and product names
are available. These filters are configurable.
See Configuring filters, page 28 for details.
Creates a new rendition each time a
file is transformed.
Feature Comments
Transforms a document as part of a CTS Activity Template is included. Profile
business workflow process using the configuration required. See Working with
CTS Activity Template. the CTS Activity Template in Documentum
Process Builder, page 46 for details. See XML
Transformation Services Installation Guide for
installation instructions.
Integrates with entire Documentum
product suite.
* ZIP output is valid for DITA source files only.
**Output is valid for DITAMAP source files only.
This chapter contains instructions for configuring XML Transformation Services. The following
sections are included in this chapter:
• Configuring XML Transformation Services through Documentum Administrator, page 23
• Adding or removing repositories serviced by XML Transformation Services, page 25
• Defining file formats and DOS extensions, page 26
• Configuring filters, page 28
• Configuring Inbox notifications, page 35
• Configuring XTS with custom style sheet, page 37
• Configuring XTS to transform DITA content with peer links, page 37
• Change the system operator user. The system operator is the name of the user who
receives messages from an instance of XML Transformation Services.
If XML Transformation Server fails to process a particular item, it queues an event
(dm_mediaserver_error) to the Inbox of the repository user who is defined as the
XML Transformation Server system operator (sysOpUser). The event appears as an
error message in the sysOpUser’s Inbox.
• Change the user for repository login.
• Change the polling interval. The polling interval is the amount of time in seconds
that the instance will wait between polls.
When document processing (transformation) is requested, Content Server
creates queue items and appends them to the dm_mediaserver queue or
dm_autorender_win31 queue, depending on the type of request. XML
Transformation Server uses a queue polling mechanism to look for items in the
queue that it has to process. When XML Transformation Server finds items in any of
these queues, it proceeds with processing.
• Change the logging level. The logging level value controls how much information
will be recorded in the CTS log files, which XML Transformation Services uses. Log
files can be used to troubleshoot the system.
• Change the system notification setting. The notification setting controls whether
success notifications should be sent to each individual user requesting a
transformation through a CTS product.
• Change the maximum number of queue items. This value controls how many items
the XML Transformation Services instance adds for processing each time it polls
the queue.
• Change the queue item expiry. This value controls the amount of time an item will
be sitting in a queue before being deleted from the queue.
The Documentum Administrator User Guide provides more information about these
configuration tasks.
2. Go to the Windows Services utility located at Start > Settings > Control Panel >
Administrative Tools > Services.
3. Select Documentum CTS Admin Agent.
4. To start the Admin Agent, click Start.
To stop the Admin Agent, click Stop.
Field Value
Name Name of the format object
Description Description of the format
Default File Extension Examples of valid file extensions are:
• dita for DITA topic files
• ditamap for DITA map files
• xml for XML (DITA or DocBook) files
COM Class ID Component Object Model (COM) registry ID for the
format
MIME Type The Multimedia Internet Mail Extension (MIME)
designation for the content type
Field Value
Windows Application Name of an application to launch when users select
a document in the format represented by the format
object
Is Hidden Used by client applications
Macintosh Creator* Information used internally for managing Macintosh
resource files
Macintosh Type* Information used internally for managing Macintosh
resource files
* The Macintosh Creator and Type values are necessary for users to access files in
this format from Macintosh clients.
5. If the format is indexable, define the indexing options.
a. Select Can Be Indexed.
b. To index with a filter, click Index with Filter and select the filter from the list box.
By default, all formats installed with the Content Server use the universal filter.
c. To index with a rendition, click Index with Rendition and select the rendition
format from the list box.
This is the format in which the document will be indexed if its original format is
not used for indexing. If you are indexing the PDF text rendition of documents
in this format, set this to pdftext.
6. Click Create.
A confirmation page appears. You can create a new template for this format by
selecting Create New Template for this Format.
The following procedure is required only if the DOS file format differs from the
Documentum format name in Content Server. See Table 4, page 28 for a listing of format
names used in Documentum systems.
Table 4, page 28 lists some examples of the format mapping used in Documentum
systems. Use these format names in DQL.
Conguring lters
Filters allow you to configure the output to include or exclude specific content that has
been tagged within the source document. For example, a user guide may have content
that applies to specific operating systems on which the application is installed. If the
content pertaining to those operating systems is tagged as such within the source file, the
output can be filtered accordingly.
XML Transformation Services is configured out of the box with the following four filters:
• profile_os
The following operating systems are available: Windows, Linux, HP-UX, Solaris,
and Mac.
• profile_audience
The following audience levels are available: Expert, Intermediate, and Beginner.
• profile_revision
The following revision names are available: New, Changed, Deleted, and Final.
• profile_product
No names exist for this filter. You must add the product names that apply to your
organization.
If any of these default filters are appropriate for your organization, you must ensure that
the source documents are profiled accordingly. To use the operating system profile, for
instance, you must tag sections within your source documents with operating system
names. Consult the documentation for your authoring system to determine how to
profile your source documents.
For many organizations, these filters will require modification, or new filters will be
needed.
One transformation profile controls all DITA filters, while three different profiles are
required for DocBook transformations. Separate procedures are provided for both DITA
and DocBook filter configurations.
This section covers the following topics:
• Adding product names to the product filter, page 29
• Configuring other DITA filters, page 30
• Configuring other DocBook filters, page 33
For example, if you want to filter content based on model number, you could add
values as follows:
<Parameter name="profile_product"
label="Product Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Select any Products You wish...">
<ValueList>
<Value label="Model A">Model A</Value>
<Value label="Model B">Model B</Value>
<Value label="Model C">Model C</Value>
<Value label="Model D">Model D</Value>
</ValueList>
</Parameter>
controltype="listbox"
datatype="string"
isRequired="false"
description="Select Any Revision Flags You Wish to
Exclude">
<ValueList>
<Value label="New">New</Value>
<Value label="Changed">Changed</Value>
<Value label="Deleted">Deleted</Value>
<Value label="Final">Final</Value>
</ValueList>
</Parameter>
7. Add, modify, or delete a value within the list, being careful to follow the proper
syntax.
For example, you could change the values for profile_revision, as follows:
<Parameter name="profile_revision"
label="Revision Filter"
controltype="listbox"
datatype="string"
isRequired="false"
description="Select Any Revision Flags You Wish to
Exclude">
<ValueList>
<Value label="First draft">First draft</Value>
<Value label="Technical review">Technical review</Value>
<Value label="Approved">Approved</Value>
</ValueList>
</Parameter>
13. In this same file, add an entry to the <conditional_params> section. Continuing the
application server example, this addition would appear as follows:
<param name="appserver" use-property="profile_appserver"/>
7. Add, modify, or delete a value within the list, being careful to follow the proper
syntax.
For example, you could change the values for profile_audience, as follows:
<Parameter name="_audience"
label="Audience Filter"
controltype="listbox"
datatype="string"
isRequired="false"
default="">
<ValueList>
<Value label="User">User</Value>
<Value label="Administrator">Administrator</Value>
<Value label="Developer">Developer</Value>
</ValueList>
</Parameter>
13. In this same file, add an entry to the <conditional_params> section. Continuing the
country example, this addition would appear as follows:
<param name="country" use-property="profile_country"/>
Note: There are two <QueueProcessorContext> tags for each repository that is
configured. You must modify the notifySuccessMessage parameter within each
<QueueProcessorContext> tag.
4. Save and close the CTSServerService.xml file.
Note: There are two <QueueProcessorContext> tags for each repository that is
configured. You must modify the notifySuccessMessage parameter within each
<QueueProcessorContext> tag.
4. Save and close the CTSServerService.xml file.
1. Check out the "dita_transform_command.xml” command line file from the following
folder in the repository: /System/Media Server/Command Line Files.
2. Locate the following section:
<!-- set value = "false" if no DRL parsing is required-->
<drl_resolver_enabled token="doc_token_drlresolver" value="true">
<!-- use the parse@ paramters to specify the element and
attributes that should be checked for DRL-->
<!-- for example parse@xref@href requires the href
attributes in xref elements to be parsed. The -->
<!-- value of the param is the link type (cross/con)-->
<param name="parse@xref@href" value="cross"/>
<param name="parse@link@href" value="cross"/>
<param name="parse@*@conref" value="con"/>
<!--file extensions to be processed (optional)-->
<param name="file_types" value="xml,dita,ditamap"/>
<!-- repository path to a file represeting a broken link
page, has to be configured by user-->
<param name="brokenlink" value="/Administrator/broken.dita"/>
<!--for conrefs, an attempt to export a file and process it is
made. the process is recursive and depth -->
<!-- is used to control the number of recursive iterations-->
param name="depth" value="1"/>
</drl_resolver_enabled>
1. Check out the "dita_transform_command.xml” command line file from the following
folder in the repository: /System/Media Server/Command Line Files.
2. Locate the following line:
<drl_resolver_enabled token="doc_token_drlresolver" value="true">
This chapter contains information about XML Transformation Services administration options. The
following sections are included in this chapter:
• Administering XML Transformation Services through Documentum Administrator, page 41
• Starting and stopping XML Transformation Services, page 43
• Altering timing and operational parameters, page 43
• Managing multiple servers, page 44
• Changing the CTS Service user after installation, page 44
• Changing the CTS administrator password, page 45
• Conguring the queue marker mechanism to manage queue item sign-off, page 45
• Working with the CTS Activity Template in Documentum Process Builder, page 46
• Using the CTS Reporting Tool, page 50
• Managing the transformation queue, page 52
• Migrating existing profiles, page 57
• Selecting Internet Protocol version, page 58
• Configuring XTS to transform XML content, page 58
it is connected. This check is done through executing the DQL/DFC call to find the
presence of at least one cts_instance_info object in the repository.
The following XML Transformation Services administration tasks can be performed
through Documentum Administrator:
• Change your password. Alternatively, this task can be done using the setPassword
utility. Note that the system administrator must also change the password on the
server.
• View log files. Log files are created for each plug-in. The contents and detail
level of each log file depend on the log file setting you have chosen for the XML
Transformation Services instance.
• View details of an instance. Details include each CTS product that is configured for a
repository, the version number of each product, the name of the host machine for
each product, its current status (running or stopped), the time it was last started, the
number of queued items for the instance, and the number of items processed by
the instance.
• Control a CTS instance. This includes starting, stopping, and refreshing an instance.
Note that performing any of these actions will apply to all CTS products running
on the host. This is because all CTS products on a host use the same CTS Windows
service. Starting and stopping the CTS Windows service can also be done manually,
on the host machine. See Starting and stopping XML Transformation Services,
page 43.
Refer to the sections that follow for detailed information about options for setting
parameters.
3. Restart the XML Transformation Server.
The expiration period and marking interval should be tuned based on each system
configuration. On a system with similar CTS products polling the same queue, the
marker mechanism is not required and thus the default setting is appropriate. However,
if there are different CTS products running against a repository, one CTS instance might
expire items (because it cannot handle them) when the instance that could handle them
is busy. In this case, the marking mechanism should be turned on for those instances that
could process the items.
• The users have set their Preferences to display the CTS palette in Documentum
Process Builder (see below).
There are profiles that do not include user-defined parameters that are suitable for
linking, for example, transform_to_html_dts. You will find them in the /System/Media
Server/System Profiles folder.
procedure describes how to add a transformation to a business process using the CTS
Parameters tab in the Activity Inspector.
7. A dialog box appears to confirm the installation of the template and its activities.
Click OK.
To start a workow:
When you start a workflow, you select the activity template that includes the sequence
of tasks to be performed. and you attach files which are supported by the CTS profile
used in the workflow.
See Chapter 6, "Workflows and Quickflows,” in the EMC Documentum Digital Asset
Manager User Guide for instructions on how to start a workflow.
2. In the tree view in the left pane, select the Transformations node. Go to the
transformation queue by selecting the Transformations node. The transformation
queue appears in the main pane.
3. Find the target item in the queue.
4. Select the item, and right-click with your mouse.
5. Choose View from the context menu.
The transformation details of this item are displayed.
6. Change the numeric value in the Priority box. The highest priority is 10. The higher
the numeric value, the higher the priority level. When the priority level is changed,
the queue position of the object will change automatically.
7. Click OK. The page returns to the list the transformation queue. Confirm that the
queue position has changed. The color code of the priority item should change to
a higher priority. See Viewing transformation requests in the queue, page 53 for
queue item priority level color codes.
The migration report log shows a complete list of all profiles before they are upgraded:
migration_report_2007_292_1192813563921.txt ->
Report log
• patcher
Specifies a java class that processes the XML element.
• source
Specifies the content origins for which processing should occur. Possible values
are "repo”, "file”, and "any”.
4. From the <FILE_FILTER> node, select the required attribute:
• extension
Lists file extensions of XML content that should be processed.
5. Select the <IMG_PATCHING> node if graphics references should be processed. This
is used to map graphics in the original content to a repository rendition that will
replace them. Select the required attributes:
• <CONFIG> sub-node:
— target – target format (documentum) of transformation
— handler – type of XML content (see 3-second bullet
• <IMAGE_REF > sub-node:
— source_ext
represents the extension of graphic asset file to be replaced
— rend_dctm_format
represents the documentum format of the rendition that should replace
the original file
— rend_flag
specifies the flag value to identify a rendition
— rend_flag_type
Represents the flag type to be checked when used with rend_flag.
Possible rendition attributes are: page_modifier, rendition_name, or
rendition_description_name. You can also leave the space empty, in which
case the first rendition to match the requested format is selected.
6. For DRL Patching, select the <DRL_PATCHING> section. Select the required
attributes:
Prole service
The profile service provides an interface to CTS transformation profiles. The profile
service enables applications to obtain available transformation profiles using various
filtering mechanisms, as well as to update them if suitable permissions are held by the
application session. This section describes the operations related to the Profile service.
Operations related to Transformation service follow.
For further details about the structure of each operation, such as sample java code and
methods, see EMC Documentum Enterprise Content Services Reference guide.
Transformation service
The transformation service provides an interface to CTS transformation capabilities. The
transformation service enables applications to request transformations from the Content
addJob operation
The addJob operation creates an asynchronous transformation job in the repository
and returns a Job Id for tracking purposes.
cleanUpJobs operation
The cleanUpJobs operation deletes all the transformation related objects by a specified
date.
deleteJob operation
The deleteJob operation deletes only a specific transformation by JobId before it is
processed. If the job has already started, it will not be deleted
getJobInfo operation
The getJobInfo operation queries the job details of a requested transformation based on
the Job Id. This operation provides the job status about the specified object, for example,
getJobInfo will inform if the job is pending, in progress, failed, or complete.
importAndAddJob operation
The importAndAddJob operation submits a transformation request on a source file to
the CTS server asynchronously. The user submits the source file which is imported to the
repository from the client’s machine prior to adding it to the queue for transformation
transformJob operation
The transformJob operation submits a transformation request directly to the CTS server
synchronously. The call is made directly to the CTS server and you get the result back.
Server. DFS is a multifaceted technology set used for developing and deploying ECM
services and consumers using a service-oriented architecture.
For more information on the DFS, see the Document Foundation Services User Guide.
1. Web services architecture is based on the SOAP protocol. The client sends a request
for a document transformation invoking the web service. The use of WSDL allows
the interoperability between services from different sources.
2. The requester relies on the load balancer using a heartbeat mechanism to find the
appropriate instance.
Synchronous requests
The CTS framework is enhanced to support synchronous requests from webservice
components in real-time. The real-time architecture’s fair, concurrent thread model
prioritizes CTS tasks to make efficient CTS calls. The synchronous call returns a request
immediately by bypassing the repository queues through the transformation web service
layer. A client application requesting real-time transformation may do so according
to the following content matrix:
• File System Input, Repository Output
Source document is provided from client’s file system and the target output is
available in the repository.
• File System Input, File System Output
Source document is provided from client’s file system and the target output is
available in the client machine.
By default CTS web services instance (JBoss application server) runs on port 8888.
Enter the following URLs to check if all WSDL files are accessible:
From CTS web services machine
• ObjectService:
http://localhost:8888/services/core/ObjectService
• ProfileService
http://localhost:8888/services/transformation/ProfileService
• TransformationService:
http://localhost:8888/services/transformation/TransformationService
The CTS WebServices log files are located at : C\Documentum\cts_ws\logs. The log file
is created once the first request is serviced from the client.
log4j.appender.F1.File=C\:/Documentum/cts_ws/logs/log4j.log
log4j.appender.F1.MaxFileSize=10MB
log4j.appender.F1.layout=org.apache.log4j.PatternLayout
log4j.appender.F1.layout.ConversionPattern=%d{ABSOLUTE} %5p
[%t] %-20c{1} - %m%n
- FILE_TRACE -
log4j.appender.FILE_TRACE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE_TRACE.File=C\:/Documentum/cts_ws/logs/trace.log
log4j.appender.FILE_TRACE.MaxFileSize=100MB
log4j.appender.FILE_TRACE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE_TRACE.layout.ConversionPattern=%d{ABSOLUTE}
[%t] %-20c{1} - %m%n
- CTSWS -
log4j.category.com.emc.documentum.fs.services.transformation=DEBUG,
CTSWSAppender
log4j.category.com.emc.documentum.cts=DEBUG, CTSWSAppender
log4j.appender.CTSWSAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.CTSWSAppender.File=C\:/Documentum/cts_ws/logs/
CTSWS_log.txt
log4j.appender.CTSWSAppender.Append=true
log4j.appender.CTSWSAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.CTSWSAppender.layout.ConversionPattern=%d{HH\:mm\:
ss,SSS} %5p %-20c{1} %m%n
log4j.appender.CTSWSAppender.DatePattern='.'yyyy-MM-dd
- DFS-
log4j.category.com.emc.documentum.fs=INFO, DFSAppender
log4j.appender.DFSAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.DFSAppender.File=C\:/Documentum/cts_ws/logs/DFS_log.
txt
log4j.appender.DFSAppender.Append=true
log4j.appender.DFSAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.DFSAppender.layout.ConversionPattern=%d{HH\:mm\:ss,
SSS} %5p [%t] %-20c{1} - %5x %m%n
log4j.appender.DFSAppender.DatePattern='.'yyyy-MM-dd
The predefined profiles in XML Transformation Services cover most of the common document
transformations, such as XML to PDF and XML to HTML. XML Transformation Services enables the
system administrator to modify existing profiles or create new profiles.
You can modify a system profile if the current profile is unsuitable for your needs. Modifying a
profile will customize it to your specifications.
Editing a prole
The following procedure describes how to edit a profile to update or customize it.
To edit a prole:
1. Log in to Digital Asset Manager (DAM) as the Administrator.
2. From the DAM browser tree, select Administration>CTS>Profiles node.
3. The list of public profiles appears by default (Show public). In the drop down menu,
in the top right hand corner of the pane, select Show public and system to change
the view to all profiles. A list of profiles appears.
4. Select a profile from the list that you would like to update.
5. Select Tools>Edit Profile (or select the profile, right-click, and select Edit).
The Info tab displays.
6. On the Info tab, edit the name, label, and description of the profile, if required.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.
4. From the list, select the existing profile with which you will build the new profile.
Select Tools>Build Profile.
The Info tab will display.
5. On the Info tab, edit the name, label, and description of the profile, if required.
• Click Webtop Enabled, if required.
• Click Browse to edit the folder destination, if required.
• Click System if you wish to hide the profile, if required.
Click Next. The Formats tab appears.
6. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile.
Select the profile’s new source and target format from the list provided.
• If required, click Add to include additional source and target formats from the
Format Selector.
• Select new source and targets from the Source Format and Target Format list
boxes. Click OK.
• To remove a format from the Formats tab, click Remove. Click OK.
Click Next. The Parameters tab appears.
7. The Parameters tab lists the available parameters for the edited profile. Select the
parameter(s) desired.
• Click Configure, to configure the profile parameter, if required.
• Enter the field values.
• Click OK. The Parameters tab refreshes.
• Select the adjusted parameter.
Click Next. The Summary screen appears.
8. The Summary screen confirms the elements that were selected and defined in the
previous screens.
Click Finish to validate and save the new profile.
9. The Profiles page is displayed. Verify that the new profile appears on the Profiles
page.
10. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.
• Select a path
• Select Configure to configure an inner profile path, if required.
• Select the desired output format from the list box.
• Click OK.
• Repeat for each path you would like to configure.
Click Next. The Formats tab displays.
7. The Formats tab contains all the formats supported by XML Transformation Services
to generate default renditions for that profile. Select the profile’s new source and
target format from the list provided.
• click Add to edit the format, if required. The Format Selector screen appears.
• Select an additional source and target pair from the Source Format and Target
Format list boxes.
• Click OK. The Formats Page displays.
• To remove a format from the Formats tab, select the Source and Target pair,
and click Remove.
Click Next. The Parameters tab appears. listing the available parameters for the
chain profile.
8. The Parameters tab appears lists the available parameters for the chain profile.
• To configure a parameter, select the profile and parameter label.
• Click Configure. The Configure pane displays.
• Click Default Settings to select default values from the Default Values list box.
• Select Hidden to hide the profile.
• Click OK. The Parameter tab refreshes with the new information.
• Repeat step 8 until you have configured all the profile paths that you require.
Click Next.
9. The Summary page is displayed. This screen confirms the elements of the parallel
profile.
Click Finish to validate and save the new profile.
10. The Profiles page is displayed. Verify that the new profile appears on the Profiles
page.
11. All profile changes require that you stop and restart the Content Transformation
Services service (see Starting and stopping XML Transformation Services, page 43)
on the XML Transformation Services host.
DQL guidelines
Consider the following guidelines when supplying DQL for profiles:
• The system does not try to correct a wrong query. It always assumes the query is
correctly supplied in profile. The system replaces the contained placeholders with
runtime values, and then executes it against the repository.
• Upon executing the query, the system will just consider the first row returned in
the result set. If the query is set to return multiple records, just the first one will
be considered.
• All the attribute values returned will be formatted accordingly, based on the attribute
type (such as date, string, or Boolean).
The following query can be used to get the current lifecycle state for a sys object, as string:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT state_NAME FROM dm_policy a, dm_sysobject b
WHERE a.r_object_id = b.r_policy_id AND a.i_state_no = b.r_current_state
AND b.r_object_id = [sysobject_id_token] ENABLE(row_based)”>
<Value label=”text”/>
</Parameter>
To get information that is pertinent to the user who executes the profile, the user
keyword can be used in query:
<Parameter name=”doc_token_text” label=”New Text” controltype=”text”
datatype=”string” dql=”SELECT user_NAME, user_address FROM dm_user
WHERE user_NAME = USER”>
<Value label=”text”/>
</Parameter>
</Parameter>
XML Transformation Services offers various transformation options to users. This chapter provides
basic procedural information for performing these transformations.
As with all Content Transformation Services products, the capabilities of XML Transformation
Services are accessed through Digital Asset Manager, a Documentum client application. To perform
these transformations, log in to the repository serviced by XML Transformation Services.
The user transformations available with XML Transformation Services are explained in the following
sections:
• Transforming DITA files, page 85
• Transforming DocBook files, page 87
• Viewing renditions, page 92
Transformations that create new renditions occur on one item at a time and requests are processed
asynchronously, meaning that new renditions may not be available immediately. You receive a
notification in your Inbox when a transformation is completed or if a transformation fails. Viewing
renditions, page 92 describes where to find and how to view completed transformation requests.
Note: The transformation options presented to the user depend on the type of source document
chosen for transformation. For example, if a DITA source file is selected, DocBook profiles are not
available.
The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select Transform DITA. Click Next.
The Transformation Details tab appears.
4. Perform the following selections:
• Select the output format for the transformation from the Format Output listbox.
• Choose the filter parameters you wish to exclude in he Operating System Filter
box, i.e. select all of the operating systems that do not apply. The Operating
System Filter box lists filters that have likely been customized by your
organization and will vary according to your organization’s requirements.
Note: For all DITA transformations, you choose the filter parameters you wish to
exclude. For example, to filter the content based on operating systems, select all
of the operating systems that do not apply.
• Select the document version types from the Revision Filter listbox that you
wish to exclude.
• Select the audience level filter from the Audience Filter listbox that you wish to
exclude.
• Enter a product filter type in the Product Filter field box, if required.
• Select No in the Zip multiple-file listbox, if you do not wish to have the a
multiple file output zipped.
The default value is Yes. This parameter only applies when creating a New
Object.
• Select Yes in the Change graphics resolution listbox, if you need to have the
XML content processed for graphics replacement. The default value is No.
• Click Next. The Save As screen appears.
5. Select one of the following:
• Create a New Rendition, or
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, etc.
6. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish.
7. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location option to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
8. The transformation request is immediately sent to the appropriate queue for
processing.
The Select Transformation tab appears displaying the selected file and the available
transformations for the selected file.
3. Select DocBook to CHM. Click Next.
The Transformation Details tab appears.
4. Perform the following selections: Select one of the options from the Set Draft
Watermark
• Select one of the options from the Set Draft Watermark listbox.
• Select the display parameter from the Display Comments listbox.
• Select the desired chunking depth level from the Create New HTML Files Down
to Section Level list box.
• Select the desired chunking depth level from the HTML Help TOC Section
Depth list box.
• Select Yes or No from the Display Chapter (and Section) Numbers in HTML
Help TOC list box.
• Choose the appropriate filters for this transformation in the Operating System
Filter box. The filters that appear have likely been customized by your
organization, and will vary according to your organization’s requirements.
• Select the required level in the Audience Filter box.
• Select the version level of the file in the Revision Filter box.
• Fill in the Product Filter field, if required.
5. Click Next. The Save As screen appears.
6. Select one of the following:
• Create a New Rendition
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, and so on.
7. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish.
8. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
9. The transformation request is immediately sent to the appropriate queue for
processing.
Note: For all DITA transformations, you choose the filter parameters you wish to
exclude. For example, to filter the content based on operating systems, select all of
the operating systems that do not apply.
Click Next. The Save As screen appears.
6. Select one of the following:
• Create a New Rendition
• Create a New Object
Selecting Create a New Object will allow you to use this object in its own
workflow, create a translation of it, apply its own permission, etc.
7. If you selected Create a New Rendition, the Rendition Definition screen appears.
Enter a description of the rendition in the Rendition Description field.
• Click Save Transformation if you wish to perform this transformation every time
the parent object is versioned.
• Click Set As Default Preview, if you wish to set this rendition as the default
preview rendition.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish.
8. If you selected Create a New Object, the New Object Definition screen appears. Enter
a title of the new object in the Title field. Perform any of the following as required:
• Select the object type from the Object Type list box.
• Click Edit next to Permission Set if you wish to change permission parameters.
Click OK.
• Click Edit next to Lifecycle if you wish to change document lifecycle information.
Click OK.
• Click New Location option to change and log the new file location. Click OK.
• Click Save Transformation if you wish to apply this transformation every time
the parent object is versioned.
Note: A format must be richmedia_enabled to allow for transformation whenever it
is versioned.
Click Finish
9. The transformation request is immediately sent to the appropriate queue for
processing.
Viewing renditions
When transformation requests are completed, the renditions are stored in the repository
with the source file.
This chapter provides troubleshooting information for errors encountered from various elements
of XML Transformation Services. Also see XML Transformation Services Release Notes, which contain
additional information regarding limitations, technical notes, usability, and known bugs.
This section contains troubleshooting guidance relating to:
• Error events and log files, page 93
• A transformation request fails, page 94
• A profile error occurs, page 94
• XML Transformation Server cannot add a rendition to a particular format, page 95
• XML Transformation Server cannot log in to the repository, page 95
• CTS Administration Agent gives AGENT_INACCESSIBLE message, page 96
• Content Transformation Services fails to function, page 97
• Locating application server working folder, page 97
4. Check that the dfc.properties file points to the Connection Broker that recognizes
your repository.
5. Log in to the XML Transformation Server host as an administrator.
6. Open the XML Transformation Server service directory, located in:
%CTS_HOME%\config
9. Make sure you have configured the SessionService.xml file to the proper user in
the repository who has SuperUser access. If necessary, check with the repository
administrator to verify user name and password information.
10. Save and close the SessionService.xml file.
11. Restart the XML Transformation Server and/or the repository.
100 EMC Documentum XML Transformation Services Version 6.5 Administration Guide
Index
I N
ignoreItemsToSignOffLimit, 45 notifications
Inbox notifications, 24, 93 to 94 changing in DA, 24
changing in DA, 24 configuring, 35
configuring, 35
settings, 35
Index
O
with Filter setting, 27 objects, 15, 17 to 18
with Rendition setting, 27 dm_media_profile, 81
input_doctype_family name, 73
installation P
plug-ins, 14 page_modifier_token, 82
scalability, 12
page_token, 82
typical, 13
password, changing, 42, 45
installing
PDF renditions, 15, 17
activity templates, 49
placeholders, 82
instance details, viewing, 42 plug-ins
adding, 14
L description, 14
Legacy profiles installation of, 14
migrating, 57 standard, 14
load balancing, 44 using command-line files, 73
locked documents, 15 to 17 polling interval, changing, 24
log file Portable Document Format, see PDF
CTS WebService instance, 72 renditions
log files, 93 Profile Editor
viewing, 42 build profile, 75, 77, 79
logging level, 44 chain profile, 75, 77, 79
changing, 24 modifying profiles, 75, 77, 79
login, 95 sequence profile, 75, 77, 79
login user, identifying, 24 specialized profile, 75, 77, 79
Profile service
addProfile operation, 62
M getProfileById operation, 62
Macintosh Creator format setting, 27 getProfileByName operation, 62
Macintosh Type format setting, 27 Operations, 62 to 63
markerInterval, 45 removeProfile operation, 62
Media_Server_Log.txt, 93 updateProfile operation, 62
Migration utility what is, 61
log file, 57 profile_audience filter, 28
migrating profiles, 57 profile_os filter, 28
MIME type, 26 profile_product filter, 28
modifying adding names to, 29
system profiles, 74 profile_revision filter, 28
modifying system profiles, 81 profiles, 94
modifying transformation profiles, 81 migrating, 57
monitor services, 43 modifying, 74, 81
multiple servers, 44 using DQL, 81
ProfileSchema.dtd file, 29 to 30
EMC Documentum XML Transformation Services Version 6.5 Administration Guide 101
Index
Q T
queue tokens, 82
objects, 13 Transform DocBook to HTML.xml,
removing unsupported formats configuring, 33
from, 12 transform handlers, 14
queue items Transformation node, 52
changing the expiry, 24 transformation profiles, 94
changing the maximum number command-line files, 73
allowed, 24 transformation queue, 52
configuring sign-off, 45 Transformation queue
queue marker mechanism, 45 changing queue priority, 53
queue, managing, 52 configuring queue management
fields, 55
deleting queue item, 55
R removing queue management
r_object_id, 83 field, 56
refreshing XML Transformation viewing details of queue item, 54
Services, 42 viewing transformations, 53
registry ID for format, 26 Transformation service
removing a repository, 25 addJob operation, 63
renditions, 95 cleanUpJobs operation, 63
viewing, 92 CTS web services, 62
repository, 95 deleteJob operation, 63
adding, 25 getJobInfo operation, 63
changing, 25 importAndAddJob operation, 63
transformJob operation, 63
S what is, 62
Transformation Services
scalability of Content Transformation
extending, 14
Services, 12
requirements, 14
servers, multiple, 44
role in XML Transformation
setPassword utility, 45
Services, 13
settings
transformations, 94
Can Be Indexed, 27
DITA source files, 85
Default File Extension, 26
DocBook source files, 87
Index with Filter, 27
performing, 13, 85
Index with Rendition, 27
viewing completed, 92
MIME type, 26
troubleshooting, 93 to 94
source formats supported, 20
with log files, 42
starting XML Transformation
Services, 42 to 43
stopping XML Transformation U
Services, 42 to 43 uninstalling
sysobject_id_token, 82 activity templates, 50
system architecture, 13 user transformations, 85
system operator user, identifying, 24 users, changing
system profiles, modifying, 74, 81 for CTS Service, 44
for repository login, 24
system operator, 24
102 EMC Documentum XML Transformation Services Version 6.5 Administration Guide
Index
X Z
XML transform handler, 15 Zip files, 17 to 18
XML Transformation Server, 93 ZIP renditions, 12
position in installation, 13
EMC Documentum XML Transformation Services Version 6.5 Administration Guide 103