I'm using the SDK API functions to display the IIntegrationDlg.DocOpenDlg. When a user selects a document, I would like to save a copy of that document into the user's portable directory (typically C:\NrPortbl\[databse]\[username]\)without checking out the document.I have found 2 commands that do half of what I want, but am still searching for the complete solution.If I use the IManage.NRTDocument.GetCopy function, then the file is not checked out, but I have to supply the path to the portable directory, which I do not know how to retreive.If I use the IMANEXTLib.OpenCmd command, then the file is saved to the portable directory automatically, but it is also checked out, which I don't want.How do I determine the user's portable directory so that I can use the GetCopy function?OR, is there a way to tell the OpenCmd to simply get a copy of the file and NOT check it out?Thanks,Dennis
//Assuming the portable drive read from the registry key setting is "C:"//Assuming doc is a valid IManDocument objectstring sPortablePath = @C:\ + "NrPortbl\" + doc.Database.Name + "\" + doc.Database.Session.UserID + "\";