Hello Techies-
I am reading in Documentum's meta data from a serialized XML stream. This meta-data includes the equivalents for WorkSite posted at the end of this message. While I am cycling through the collection of docs extracted from Documentum (including the originals plus their versions) , I am logged in under one session with a specific profile. Now, my question is: the meta-data that I will have from Documentum will reflect the equivalent of different document profile data. From my understanding of WorkSite's object model, I am making a few assumptions. The first, is that I will need to have active profiles available as valid security objects for the Dctm.ownerName/objAuthor. The second, for those users no longer existing in the organization at the time docs were authored in Documentum, I will still need to create users/profiles. If these assumptions are incorrect-or 'almost correct', please let me know.
The core question that I have, however, is more of a "how best to approact this task" question. Should I be opening another session for each new author as I read in the serialized XML info about the ownerName? If so, my intention is to corral all the documents, retaining their ownership/creation date/etc. data under one public admin-owned (read: conversion application profile) workspace/folder--would I import the document under the second sessionid, then close the session after I've cycled through that particular document set? (read: version 1, through version 1++?) -- then continuing through the broad doc array on the first session?
Any "best practices" advice would be well received!;-)
Warm regards,
Paula
------------------------- Documentum Equivalents --------------------------------------------------------------------
//Note: most critical xforms to address:
//target.let_Author(objAuthor) // = xmlDctm.creatorName {string} not equiv. data types
//target.let_Operator(objOperator) // = xmlDctm.ownerName " "
//target.let_Type(objDocType) // = xmlDctm.type " "
//target.let_Class(objDocClass) // = xmlDctm.objDocClass {obj} not equiv data types
// Note: less critical, but important
//target.Name = xmlDctm.name;
//target.Description = xmlDctm.title;
//target.CreationDate = xmlDctm.createDate
//target.LastUser = xmlDctm.modifierName;
//target.EditDate = xmlDctm.modifyDate;
//target.Version = xmlDctm.versionId
//target.LatestVersion = xmlDctm.isLatest // boolean check, look for versionId same doc.
// Note: xmlDctm.isRoot; // derivative-- if "Y", version should be == 1 //no need to check?
Paula DiTallo - Middleware Architect/ .NET Developer
plditallo@metro-design-dev.com