Hello,
I am creating a document through dfc like this
public String createDocument(IDfSession sess, String name , String type , String file) throws DfException
{
IDfDocument doc = (IDfDocument) sess.newObject("dm_document");
String strPath="";
if(doc != null)
{
doc.setObjectName(name);
doc.setContentType(type);
doc.setFile(file);
doc.link("/divs");
doc.save();
IDfId foID = doc.getFolderId(0);
IDfFolder fol = (IDfFolder) sess.getObject(foID);
strPath = fol.getFolderPath(0)+"/"+name;
System.out.println("Folder Path----->"+strPath);
}
return strPath;
}
can i create this document with version number other than 1.0 in documentum , if i can then how to do it
Regards
Mayur Mitkari