Can somebody give me some pointers on DXL Import… ie I have used examples from the 6.5 Designer help along with other postings from this board and have successfully been able to Export, Pipeline and modify attributes of a Notes Document. On the Import step I get a failure message. I essentially want to take a document, Export it, Parse and modify it and then import it back into the database.
Code snippet …
Dim dxp As NotesDXLExporter
Set dxp = session.CreateDXLExporter(doc)
Set par = session.CreateDOMParser(dxp)
On Event PostDOMParse From par Call ProcessDOM
Dim domdoc As NotesDOMDocumentNode
Set domdoc = par.Document
Dim XMPProc As NotesXMLProcessor
Dim dip As NotesDXLImporter
Set dip = session.CreateDXLImporter(par, db)
Call dip.SetOutput(db)
dip.DocumentImportOption= DXLIMPORTOPTION_UPDATE_ELSE_IGNORE
Call dxp.Process
Call doc.save(False,False)
The failure is on the DXP process… all it says is “DXL Importer operation failed”