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 Jul 20, 2018

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?

  • Attach files
  • Guest
    Reply
    |
    Feb 7, 2019

    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.