Hi all,
How to obtain the data of the previous versions Objects ?
I had done this using IDFSysObject.getVersions method.
I had obtained the Object IDs of the previous versions, but when i obtain the value for the object Id i.e using
dfCollection = parentIDFSysObject.getVersions("r_object_id");
while (dfCollection.next())
{
dfTypedObject = dfCollection.getTypedObject();
rObjectId = dfTypedObject.getString("r_object_id");
newSysObject = (IDfSysObject) session.getObjectByQualification("dm_document where r_object_id ='"
+ rObjectId + "'");
}
the value of the newSysObject is null
is it the right way to do ?
any clue ??