Documente Academic
Documente Profesional
Documente Cultură
Sabrina Lui
Mustafa Rassiwala
Lui-Rassiwala 1
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 2
Documentum Developer Conference 2001 9/9/01 12:46
What is a DocApp?
Understanding DocApps
A collection of Docbase objects that are
required for a Documentum based
application
Can be packaged and deployed to a
target Docbase
Job Method
Lui-Rassiwala 3
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 4
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 5
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 6
Documentum Developer Conference 2001 9/9/01 12:46
What’s in a DocApp
Understanding DocApps
1. Object Types 6. Job
2. Document 7. Component
Lifecycle 8. Procedure
3. Workflow 9. Method
Template
10. Group
4. Permission Set
Template 11. Data Object
5. Alias Set
Lui-Rassiwala 7
Documentum Developer Conference 2001 9/9/01 12:46
Document
dm_app_ref Object_id lifecycle
dm_application
Virtual document of dm_app_ref objects
dm_app_ref objects point to Docbase
objects by object id
Lui-Rassiwala 8
Documentum Developer Conference 2001 9/9/01 12:46
dm_application
dm_application
dm_app_refs
Unique for every Docbase object
Allow cooperative locking of non
sysobjects
Lui-Rassiwala 9
Documentum Developer Conference 2001 9/9/01 12:46
Portability
Understanding DocApps
Development vs. Deployment environment
Users
Locations
Security
Lui-Rassiwala 10
Documentum Developer Conference 2001 9/9/01 12:46
Portability
Understanding DocApps
Manager = Sabrina
Designer = Mustafa
CatalogBase
DocApp
Furnishing
Furnishing Apparel
Apparel Computers
Computers
Manager = Tom Manager = Paul Manager = Jay
Designer = Mike Designer = Frank Designer = Steve
Lui-Rassiwala 11
Documentum Developer Conference 2001 9/9/01 12:46
Portability
Understanding DocApps
Development vs. Deployment environment
Users
Locations
Security
Solution: use aliases for Docbase specific
data
Alias – Docbase environment variable
Alias value substituted at installation time
Lui-Rassiwala 12
Documentum Developer Conference 2001 9/9/01 12:46
Alias Sets
Understanding DocApps
Mapping between aliases and actual values.
Alias Set names are unique within a Docbase.
Fully specified alias: <alias set
name>.<alias name>
Aliases may refer to a user, group, location,
permission set or an arbitrary string.
Lui-Rassiwala 13
Documentum Developer Conference 2001 9/9/01 12:46
Alias Resolution
Understanding DocApps
ResolveAlias(IDfSysObject sysObj,
string aliasName)
Server alias resolution scheme
Alias Set of the document
Lui-Rassiwala 14
Documentum Developer Conference 2001 9/9/01 12:46
Alias Substitution
Understanding DocApps
Value of the alias could vary from
Docbase to Docbase
DocApp installer prompts user to
specify the value during installation
Lui-Rassiwala 15
Documentum Developer Conference 2001 9/9/01 12:46
Document Lifecycles
Object Types and Attributes
Data Objects
DocApp Deployment
Sample DocApps and applications
Back to the future
Lui-Rassiwala 16
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 17
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 18
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 19
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 20
Documentum Developer Conference 2001 9/9/01 12:46
dm_####_####
Tom DELETE
Permission Set Template Mike READ
%catalog_manager DELETE
%catalog_designer READ
Lui-Rassiwala 21
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 22
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 23
Documentum Developer Conference 2001 9/9/01 12:46
dm_####_####
Paul DELETE
Permission Set Template Frank READ
%catalog_manager DELETE
%catalog_designer READ
Lui-Rassiwala 24
Documentum Developer Conference 2001 9/9/01 12:46
Document Lifecycle -
Up, Close & Personal
Mechanism to specify the location, security,
ownership and other policies that govern the
document in each phase of its existence.
Modeled as a sequence of states and the
transitions between them.
Entry Criteria
Actions
Withdrawn
Lui-Rassiwala 25
Documentum Developer Conference 2001 9/9/01 12:46
Document Lifecycle -
Up, Close & Personal
Lui-Rassiwala 26
Documentum Developer Conference 2001 9/9/01 12:46
Document Lifecycle -
Up, Close & Personal
Furnishing
Apparel
Docbase B
CatalogBase
%Catalog_Manager tuser1
Tom Owner
Owner
Owner===Sabrina
tuser1
Tom
Document
Draft Review Retired Lifecycle
Set Owner to
%Catalog_Manager
Lui-Rassiwala 27
Documentum Developer Conference 2001 9/9/01 12:46
Workflow Templates -
Up, Close & Personal
Lui-Rassiwala 28
Documentum Developer Conference 2001 9/9/01 12:46
Object Types -
Up, Close & Personal
Lui-Rassiwala 29
Documentum Developer Conference 2001 9/9/01 12:46
Object Types -
Up, Close & Personal
Lui-Rassiwala 30
Documentum Developer Conference 2001 9/9/01 12:46
Object Types -
Up, Close & Personal
Lui-Rassiwala 31
Documentum Developer Conference 2001 9/9/01 12:46
Attributes -
Up, Close & Personal
Input Mask
e.g. ###-##-#### as SSN
Category
Value Mapping
mapping between actual and display
values.
Lui-Rassiwala 32
Documentum Developer Conference 2001 9/9/01 12:46
Attributes -
Up, Close & Personal
Value Assistance
Defines possible values of the
attribute:
Fixed list
Custom query
Conditional Value Assistance
populates values based on other
attribute(s)
Lui-Rassiwala 33
Documentum Developer Conference 2001 9/9/01 12:46
Attributes -
Up, Close & Personal
Lui-Rassiwala 34
Documentum Developer Conference 2001 9/9/01 12:46
Attributes -
Up, Close & Personal
Lui-Rassiwala 35
Documentum Developer Conference 2001 9/9/01 12:46
Attributes -
Up, Close & Personal
Lui-Rassiwala 36
Documentum Developer Conference 2001 9/9/01 12:46
Data Objects -
Up, Close & Personal
Folder,Cabinets and Documents.
All sysobjects in the folders/cabinets
except lifecycles, workflow templates,
jobs, methods and compoents.
Custom types need to be included in the
DocApp, to be able to archive instances
of these custom types.
Lui-Rassiwala 37
Documentum Developer Conference 2001 9/9/01 12:46
Understanding DocApps
DocApp Internals
DocApp Deployment
DocApp Archive
DocApp Installation
Deployment Options
Lui-Rassiwala 38
Documentum Developer Conference 2001 9/9/01 12:46
DocApp Archive -
DocApp Deployment
What is a DocApp archive?
Archive file is serialized java
Snap shot of the Docbase objects at the time
of archival
Archive process navigates
dm_application VDM archiving objects at
every node
Archive log reports the objects archived
Lui-Rassiwala 39
Documentum Developer Conference 2001 9/9/01 12:46
Archival Rules -
DocApp Deployment
Lui-Rassiwala 40
Documentum Developer Conference 2001 9/9/01 12:46
Installation Process -
DocApp Deployment
Types are installed
Transaction opened
Alias sets are installed
User specifies valid values for aliases
All other objects are installed
Transaction is committed
Relations reestablished between data
objects
Documents attached to Lifecycles
Lui-Rassiwala 41
Documentum Developer Conference 2001 9/9/01 12:46
DocApp Installer -
DocApp Deployment
Interactive vs Silent Mode
Alias Resolution
Alias resolution dialog
Properties file
Status of installation is reported in the
log file
DocApp Installer is backward compatible
Can handle archives created using older
versions of DDS
Lui-Rassiwala 42
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 43
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 44
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 45
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 46
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 47
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 48
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 49
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 50
Documentum Developer Conference 2001 9/9/01 12:46
Overwrite
Document1
Document1
Document2
Document2
Document3
Document3
Lui-Rassiwala 51
Documentum Developer Conference 2001 9/9/01 12:46
Overwrite
Document1
Document1 Document1
Document1
Document2
Document2 Document2
Document2
Document3
Document3 Document3
Document3
Lui-Rassiwala 52
Documentum Developer Conference 2001 9/9/01 12:46
v1.0
Overwrite
Document1
Document1 Document1
Document1
Document2
Document2 Document2
Document2
Document3
Document3 Document3
Document3
Lui-Rassiwala 53
Documentum Developer Conference 2001 9/9/01 12:46
Overwrite
Document1
Document1 Document1
Document1
v1.2
Document2
Document2 Document2
Document2
Document3
Document3 Document3
Document3
Document4
Document4
Lui-Rassiwala 54
Documentum Developer Conference 2001 9/9/01 12:46
Overwrite
Document1
Document1 Document1
Document1
v1.2
Document2
Document2 Document2
Document2
Document3
Document3 Document3
Document3
Document4
Document4
Document4
Document4
Lui-Rassiwala 55
Documentum Developer Conference 2001 9/9/01 12:46
Overwrite v1.0
Document1
Document1 Document1
Document1
v1.2
Document2
Document2 Document2
Document2
Document3
Document3 Document3
Document3
Document4
Document4
Document4
Document4
Lui-Rassiwala 56
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 57
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 58
Documentum Developer Conference 2001 9/9/01 12:46
Understanding DocApps
DocApp Internals
DocApp Deployment
Sample DocApps and Applications
WebPublisher DocApp
XML Application
Lui-Rassiwala 59
Documentum Developer Conference 2001 9/9/01 12:46
WebPublisher -
Sample DocApps and Applications
Lui-Rassiwala 60
Documentum Developer Conference 2001 9/9/01 12:46
WebPublisher -
Sample DocApps and Applications
Lui-Rassiwala 61
Documentum Developer Conference 2001 9/9/01 12:46
XML Application -
Sample DocApps and Applications
Lui-Rassiwala 62
Documentum Developer Conference 2001 9/9/01 12:46
XML Application -
Sample DocApps and Applications
Lui-Rassiwala 63
Documentum Developer Conference 2001 9/9/01 12:46
Understanding DocApps
DocApp Internals
DocApp Deployment
Sample DocApps and applications
Back to the future
DocApp UnInstall
Internal Deployment Mode
Lui-Rassiwala 64
Documentum Developer Conference 2001 9/9/01 12:46
DocApp Uninstall –
Back to the Future
Uninstall DocApp Versions
Dependency checking for all Docbase
objects
Options to control the deletion of
Docbase objects
Rollback to previous definitions for
Object Types, PST and Alias Sets
Extensive Reporting mechanism
Lui-Rassiwala 65
Documentum Developer Conference 2001 9/9/01 12:46
Lui-Rassiwala 66
Documentum Developer Conference 2001 9/9/01 12:46
Q&A
Job
Method
Alias Set
Document
Lifecycle
Lui-Rassiwala 67
Documentum Developer Conference 2001 9/9/01 12:46
Summary
Lui-Rassiwala 68