Welcome to the #dominoforever Product Ideas Lab! 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 jointly by the IBM & 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.

RunOnServerWithDocumentContext !!

We all know about NotesAgent (Java Lotusscript and SSJS)

- .RunOnServer, that receive noteid of a SAVED document with parameter

- .RunWithDocumentContext, that receive a documentContext (unsaved) but in Notes client executes with client rights

We are unable to give access a Notes user without "create documents" ACL privilege, and allow to execute an agent getting an unsaved document to work with.


What about to create a method notesAgent.RunOnServerWithDocumentContext(doc as notedocument) without need to save document?

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 20 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    07 Feb 23:51

    RunWithDocumentContext works with unsaved document bacause used same context: Client -> Client or Server -> Server.

    RunOnServerWithDocumentContext for works with unsaved document impossible to implement because the document needs to be transferred to another context.