#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

Make Default- Classes Subclassable in LotusScript

We have some advanced applications, where we need the default classes NotesDocument or NotesUIDocument or any other to have some special functions like "SaveWhenModified" or "ReplaceItemValueHashed" (only mark the document as changed when the value really changes), or auditing.. It would be very convenient to write code like: 

Class NotesDocumentAdvanced As NotesDocument

But when you try you get "Cannot subclass: NOTESDOCUMENT". 

You can workaround that by manually writing all the necessary functions / subs in your class and simply calling the NotesDocument- Functions for them, but it is not convenient (and you cannot have optional parameters or overloading in functions that you define manually, but the Standard classes do)...

 

Please allow us to subclass the default classe in LotusScript

 

Torsten Link

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 24 2018
  • Needs review
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    15 Jan 02:56pm

    Would love it ...

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    19 Dec, 2019 01:55pm

    DDXP-I-102 was misunderstood. Here the description is better !!!

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    19 Dec, 2019 01:49pm

    Yes that would be indeed a great enhancement