I have written code to import arbitrary documents (email attachments) to iManage from another application, and see the GetDocumentTypeFromPath() method as the best way to set the document type correctly. I am using an IManFileSaveCmd to do the import, and that seems fine. But when I add something along these lines...
Dim DocType as IManDocumentType
Set DocType = pSession.PreferredDatabase.GetDocumentTypeFromPath(FileName)
.. this line fails with the error "Error -1073741819 [NRTDatabase ][GetDocumentTypeFromPath ]Access is denied"
I have confirmed that the document does exist, and have given "Everyone" full rights on the document and its containing folder. Also tried it with a couple of document types, with the same results.
Perhaps IManage complaining about access to something other that the file itself ? Where else should I look ?
Any help greatly appreciated.