I have tested the DXL EXporter and Importer in order to copy pages, forms, subforms, shared fields from one notesdatabase to another but I got really strange results when trying to import:
(I used DXLIMPORTOPTION_REPLACE_ELSE_CREATE)
First time I copy all design elements, everything is ok
second attempt (I want to replace existing design elements) : the pages become forms (!), one form generates errors and does not want to be copied (log : No Match found), script libraries failed as well… and sharedfields / subforms / framesets/ImageResources seem to be ok.
Subject: DXL Importer : weird behaviour or am i missing something ??
i never met this error while i am writing a application to export every Desingelement into a single XML file and import it back into a DB.
about a month ago i had a problem with views, somehow they chanced their nams and i had twice the same view ( but slightly modified name ) in my database.
Subject: RE: DXL Importer : weird behaviour or am i missing something ??
If you think it might help, I will try to import and re-import one of your badly-behaved design elements to see what happens. Export the design element to a DXL file and send me the file. My e-mail address is in my profile.
Subject: RE: DXL Importer : weird behaviour or am i missing something ??
That is true that it may be just the lack of a character in $Flags that could turn a page into a form, but clearly that would be a bug and should be SPR’ed. If you have a reproducible case post the DXL or email it to me at dannicch@notesdev.ibm.com and I will SPR it. Same thing for the script library case.
Subject: RE: DXL Importer : weird behaviour or am i missing something ??
If I export any script library (it can be empty), and try to reimport it unchanged using DXLIMPORTOPTION_REPLACE_ELSE_CREATE, the import fails with the error Note item not found.