You are here

You are here

Getting the full path of a Folder

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

Vertical Tabs

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