I am trying to assign DocImporter a document using DocImporter.Document = myDoc where myDoc is a LFDocument object.
I keep getting the following message.
A valid document object reference must be supplied.
According to the documentation this should accept an LFDocument object. Not sure why it is rejecting it.
myDoc = (LFDocument)db.GetEntryByID(348395); DocImporter.Document = myDoc;