Hi,
On the following example, version 10 I have an error message.
"Method not found: 'Void Laserfiche.DocumentServices.DocumentImporter.set_Document (Laserfiche.RepositoryAccess.DocumentInfo)'."
This error occurs when using the following statement:
DocumentImporter docimport DocumentImporter = new ();
DocumentInfo docinfo = Document.GetDocumentInfo (nID, _Sess);
docimport.Document = docinfo; // ERROR relevant here.
With version 9 SDK I have no problem and everything is perfect.
Following few lines of code used.
if (sFile != string.Empty)
{
DocumentImporter docimport = new DocumentImporter();
DocumentInfo docinfo = Document.GetDocumentInfo(nID, _Sess);
docimport.Document = docinfo;
docimport.ImportEdoc(sApplication, sFile);
docinfo.Save();
}