#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

  • Guest
  • Aug 24 2018
  • Needs review
  • Attach files
  • Guest commented
    15 Jan, 2020 02:56pm

    Would love it ...

  • Guest commented
    19 Dec, 2019 01:55pm

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

  • Guest commented
    19 Dec, 2019 01:49pm

    Yes that would be indeed a great enhancement