#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

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?

  • Guest
  • Jul 20 2018
  • Needs review
  • Attach files
  • Guest commented
    7 Feb, 2019 11:51pm

    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.