Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Aug 24, 2018

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

  • Attach files
  • Guest
    Reply
    |
    Jan 15, 2020

    Would love it ...

  • Guest
    Reply
    |
    Dec 19, 2019

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

  • Guest
    Reply
    |
    Dec 19, 2019

    Yes that would be indeed a great enhancement