You are here

You are here

Getting the full path of a Document

It may be useful to get the full path of a document in SpringCM.  This is not exposed as a property of the SCMDocument object but can be retrieved with the DocumentGetPath method.

Vertical Tabs

c#
string documentId = "<Source document Id retrieved by other method calls>";
string path = springCMService.DocumentGetPath(token, documentId);
Console.WriteLine("Path for document with Id {0} is {1}",documentId,path);
java
String documentId = "<Source document Id retrieved by other method calls>";
String path = springCMService.documentGetPath(token, documentId);
System.out.format("Path for document with Id %s is %s\n",documentId,path);