I'm using ImportEngine object to import XML-based import lists. I'm using the sample code provided in the .NET toolkit. However, when I change the date to invalid date, the importengine object does import the document, the date is not set in the document and the importengine object does not report an error.. When I make that date field a required field, the document is still imported but now no metadata is being assigned to the document and the importengine object still does not report an error. Is there a way that I can retrive the metadata import errors?
Question
Question
Answer
ImportEngine is basically doing a briefcase import behind the scenes. If you have the IgnoreErrorAndContinue flag set, then you wouldn't see any errors. If you don't, then there should be an error in the Windows application event log. It should say something about errors on briefcase import and point towards a log file. That log file should have the information you want.
Unfortunately, errors about invalid field values are not thrown to the top level in ImportEngine currently. We'll look into making that better.
Replies
you would need to set up a different situation to test the validity of the dates and find which ones must have been effected.
Since you said no errors were generated, you cannot simply search for the import errors, since that will give you no information that's useful. Have you checked the server though for any SQL errors or other errors? You might find something in the event viewer of the SQL or LF server