JAVA/CORBA CLASSES
import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) Database db = agentContext.getCurrentDatabase(); View view = db.getView("All Documents"); ViewColumn column = view.getColumn(1); String title = column.getTitle(); if (title.length() == 0) title = "No title"; System.out.println ("First column is \"" + title + "\""); } catch(Exception e) { e.printStackTrace(); } } }
See Also