DXL Import

I am using the following import option:DXLIMPORTOPTION_REPLACE_ELSE_CREATE

If the design element (Subform) isn’t in the db then it creates the subform.

However if the subform is in there and it trys to process the following line of code:

Call importer.Process

It fails and I receive the following error:

DXL importer option failed

I do not have the replicaid, noteID, unid or sequence.

Could this be causing the problem if the Design Elements has the same name?

Also, I am new to the DXL Importer so is there a log I can look at and if so how do you get to it?

Thanks in advance

Subject: DXL Import

I found out the problem using the importer log option.

It was that I did not have the database replica id.

I fixed that problem and everything is fine now.

Subject: DXL Import

NotesDXLImporter has a log (you can access it using inporter.Log) that provides an XML document describing the failure – I usually write the value to agentlog.nsf.

Duplicate names are not enough – you should need to have a collision of NoteID (or UNID) in order for the REPLACE option to be invoked. Notes allows multiple design elements with the same name/alias.

Subject: RE: DXL Import

I actually fixed the problem and I was just using the Subform name and it did replace\update the design if that one was not there.

But to be safe I am adding the unid.

Thanks for your response.