Hello,
I want upload a file to laserfiche. I have tried a few things which didn’t work out. For ex
RepositoryRegistration myRepoReg = new RepositoryRegistration("GCLFDEV", "GeneralCodeDBDev");
Session mySess = new Session();
mySess.LogIn("ADMINusername", "ADMINpassword", myRepoReg); //uses Laserfiche authentication
DocumentInfo doc = new DocumentInfo(mySess);
doc.Create(@"GeneralCodeDBDEV\TEST", "DEFAULT000000", EntryNameOption.AutoRename); -- An unhandled exception of type 'Laserfiche.RepositoryAccess.ObjectNotFoundException' occurred in Laserfiche.RepositoryAccess.dll
DocumentImporter DI = new DocumentImporter();
DI.Document = doc;
DI.ImportEdoc("application/pdf", @"C:\Users\tdt1038\Desktop\Order Placed.pdf");
Is this the right way to do this ?