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 Needs Review
Workspace Domino
Categories General
Created by Guest
Created on Jun 25, 2024

Domino CAPI AgentQueryStdoutBuffer isn't populated by setting up and using the java agent method getAgentOutput()

The CAPI AgentQueryStdoutBuffer isn't populated by setting up and using the java agent method getAgentOutput(), the buffer is empty.


If possible, would like to have this fixed for r12 and r14.


Here is a java agent example (pretty much taken from the doc) where the buffer should be populated but nothing gets returned through the CAPI:

public class JavaAgent extends AgentBase {

public void NotesMain() {

try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();

PrintWriter pw = getAgentOutput();
Database db = agentContext.getCurrentDatabase();
String n = db.getFileName();
pw.println(n);
} catch(Exception e) {
e.printStackTrace();
}
}
}
  • Attach files