Not really.
This doesn't include an example - it's just how (theoretically) to configure a client to use the DFS. It's not really a working example.
Main Topics
Browse All TopicsUnfortunately, the Documentum example pool seems to have dried up in the use of Documentum from .Net clients.
Whereas there was an ability to use the client DLLs from .Net, that has been broken with Documentum 6.5. There is a claimed DFC/.Net interface and DFS, but the examples are poor for either and no examples I've found show the full compliment of functionality available in their core API.
I'm looking for an example that might connect to a Documentum system from either VB.Net or C# and create a document and metadata of it. Alternatively, something that queries for a document by metadata and downloads the content would be at least a start.
The key is it can't be java and it can't be server-side. I need an actual .Net client (second computer) example.
I'd settle (prefer) an example doing the above via web-services, but I can't even find a shred of that anywhere.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If your questions are:
1. need example of .net web service client code (in forum code posted above)
2. example that might connect to a Documentum system from either VB.Net or C# and create a document and metadata of it. (in dfs reference guide, example 3-2 copied below)
3. something that queries for a document by metadata (in dfs reference guide, example 15-6 copied below)
4. something that downloads documents (in dfs reference guide, example 3-10 copied below)
Then you should be able to use the standard DCTM DFS documentation along with the post available on the community site, such as the one supplied above.
Lastly, the code in the forum is executable code as stated in the thread. The forum states: "we will use the HelloWorldService distributed with the D6.5 DFS SDK as our baseline for client access".
For example, from the DFS reference guide:
Example 3-2. C#: Simple object creation
public DataPackage CreateNewFolder()
{
ObjectIdentity folderIdentity = new ObjectIdentity();
folderIdentity.RepositoryN
DataObject dataObject = new DataObject(folderIdentity,
PropertySet properties = new PropertySet();
String folderName = "aTestFolder" + System.DateTime.Now.Ticks;
properties.Set("object_nam
dataObject.Properties = properties;
DataPackage dataPackage = new DataPackage(dataObject);
OperationOptions operationOptions = null;
return objectService.Create(dataP
}
Example 3-10. C#: Basic object retrieval
public DataObject GetObjectWithDefaults(Obje
{
objIdentity.RepositoryName
ObjectIdentitySet objectIdSet = new ObjectIdentitySet();
List<ObjectIdentity> objIdList = objectIdSet.Identities;
objIdList.Add(objIdentity)
OperationOptions operationOptions = null;
DataPackage dataPackage = objectService.Get(objectId
return dataPackage.DataObjects[0]
}
Example 15-6. C#: Structured query
public void SimpleStructuredQuery()
{
try
{
String repoName = DefaultRepository;
// Create query
StructuredQuery q = new StructuredQuery();
q.AddRepository(repoName);
q.ObjectType = "dm_document";
q.IsIncludeHidden = true;
q.IsDatabaseSearch = true;
ExpressionSet expressionSet = new ExpressionSet();
expressionSet.AddExpressio
Condition.CONTAINS,
"admin"));
q.RootExpressionSet = expressionSet;
// Execute Query
int startingIndex = 0;
int maxResults = 20;
int maxResultsPerSource = 60;
QueryExecution queryExec = new QueryExecution(startingInd
maxResults,
maxResultsPerSource);
QueryResult queryResult = searchService.Execute(q, queryExec, null);
QueryStatus queryStatus = queryResult.QueryStatus;
RepositoryStatusInfo repStatusInfo = queryStatus.RepositoryStat
if (repStatusInfo.Status == Status.FAILURE)
{
Console.WriteLine(repStatu
throw new Exception("Query failed to return result.");
}
// print results
foreach (DataObject dataObject in queryResult.DataObjects)
{
Console.WriteLine(dataObje
}
}
catch (Exception e)
{
Console.WriteLine(e.Messag
Console.WriteLine(e.StackT
throw new Exception(e.Message);
}
}
Business Accounts
Answer for Membership
by: Rsulliv1Posted on 2009-08-21 at 00:25:23ID: 25149683
Take a look at this post & let me know if that answers your question:
docs/DOC-2 214
https://community.emc.com/
Also, the developer.emc.com site has a number of resources if you don't have powerlink access.