#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

global lotus scriptlibraries/objects

I have a project that consists of over 40 domino databases.There I have a class that encapsulates database access (session, datbase, view, ..).(dim appOrg as New App ("ProVeOrg") or dim appQuali as New App ("ProVeQuali") ...).This is used in many forms, views and scriptlibraries and is always reinitialized.It would be nice to initiate and use this once per session, similar to the application scope.

  • Guest
  • May 12 2021
  • Needs review
  • Attach files
  • Guest commented
    14 May 06:43am

    Each form has up to 8 subforms with different scriptlibraries. These all use the "App" and "ErrorHandler" classes. I can't use static there.

  • Guest commented
    12 May 06:12pm

    If it's the same object each time, try using the static keyword. See https://www.intec.co.uk/lotusscript-and-the-static-keyword/. That will give you the result of applicationScope.