Hello,
if you import a Form/Subform via NotesDXLImporter, into a database, the LotusScript Code in the area "Objects -> Globals -> Initialize" (right above the events of the form) gets lost as soon as you edit other parts of the Globals part of a Form / Subform.
Maybe i am missing something here.
I tried recompiling all Lotusscript, changing DXLImporter Options, nothing helps me. I have to manually click into the "Globals -> Initialize" Code and Save the Form/Subform, so the code doesn't get lost in other edits.
Things to reproduce the loss:
- Have a Form/Subform with Code in "Globals -> Initialize"
- Export and Import this Form/Subform via DXLImporter
- Open the imported Form/Subform, click on "Globals" (but not on Initialize itself)
- Add Code in Declarations
- Click on "OnLoad" or "JS Header"
- The Code in "Globals -> Initialize" is now empty
This is causing DataLoss :(
I could only test this with Domino Designer 9.0.1 on Windows, i dont know if other plattforms / versions are affected too.