asked on August 26, 2019
I'm trying to import pdf files from a local Windows directory via the SDK, but imported documents show up empty and have no pages. The account creating the documents has the ImportPDFPages attribute set to Yes. My code below:
using (DocumentInfo doc = new DocumentInfo(RASession)) { int newDocID = Document.Create(parentFolder + entryName, "DEFAULT", EntryNameOption.AutoRename,RASession); DocumentImporter DI = new DocumentImporter(); DI.Document = Document.GetDocumentInfo(newDocID, RASession); DI.ImportEdoc(extType, filePath); DI.Document.SetTemplate("Template Name"); DI.Document.Save(); RASession.LogOut(); }
The documents come in with the right name, path, template, and icon, but have nothing in Images or Text panes when opened in the repository.
Is there something wrong with my code?
0
0