Hello ,
I have a doubt regarding the value returned by "IDfDocument.getFolderId(0).toString" method while performing "Copy Operation", i am calling the following method from TBO overriding "doSaveEx"
method, the method is somewhat like this
public String getHotFolderIdOfFolder(String documentID, IDfSession session) { // the r_object_id of document which is copied from source to //destination folder
String hotFolderIdForFolder = null;
IDfDocument document;
try {
document = (IDfDocument) session.getObject(new DfId(documentID));
String folderId = document.getFolderId(0).toString(); // here i was expecting the r_object_id of source folder but i am getting the , r_object_id of destination folder.
hotFolderIdForFolder = getHotFolderID(folderId, true, session);
return hotFolderIdForFolder;
} catch (DfException e) {
e.printStackTrace();
}
}
why i am getting the r_object_id of destination folder where it should have returned r_object_id of source folder
Regards