This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jul 4, 2016, 11:54 AM
1 Posts

Global "Initialize" Code of forms / subforms gets lost after DXL import

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 1

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:

  1. Have a Form/Subform with Code in "Globals -> Initialize"
  2. Export and Import this Form/Subform via DXLImporter
  3. Open the imported Form/Subform, click on "Globals" (but not on Initialize itself)
  4. Add Code in Declarations
  5. Click on "OnLoad" or "JS Header"
  6. 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.

Jul 7, 2016, 8:32 PM
40 Posts
A note on subforms
Lately I have begun to shun subforms and shared fields.  Although they are handy, it has been reported that they are not cached in cache.ndk. Not a problem if the app is local, but if the db lives on a server while the client only has a WAN connection, speed measured in kbps and not Mbps, the resulting network traffic is horrenduous and very detrimental to perfomance. See http://blog.nashcom.de/nashcomblog.nsf/dx/computewithform-performance.htm

This also means that I implement any dialog boxes as Form elements and not Subform elelements.

As we recently had 1200+ clients move from local replicas to server based applications, you can imagine that retooling makes quite a difference.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal