Get all object's versions
Hello,
Can I get all object's versions using versioncontrol service; please note that I am using DFS v6.5
I found a way using DQL as the following:
select *, r_version_label from dm_document(all) where i_chronicle_id in (select i_chronicle_id from dm_document (all) where r_object_id = '0900001980007b43')
But I prefer if I can find a way to accomplish this using versioncontrol service.
Regards.
Comments
-
VCS does not provide such functionality.
0 -
I don't know how to get it via DFS, but it's fairly easy using DFC:
IDfSysObject newObj = (IDfSysObject)session.getObject(id);
IDfCollection docVersions = null;
docVersions = newObj.getVersions("r_object_id,object_name");while (docVersions.next()) {
IDfTypedObject typedObj = docVersions.getTypedObject();
System.out.println(typedObj.getString("r_object_id"));
}
docVersions.close();0 -
Thanks a lot guys for your help, it seems that Version Control Service doesn't supprt this API. Anyway it seems that I will go to use DQL.
Thanks a lot again.
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management