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 viewCat = db.getView("Categorized"); ViewColumn vcCat = viewCat.getColumn(2); View viewAll = db.getView("All Documents"); ViewColumn vcAll = viewAll.getColumn(5); vcCat.setTitle(vcAll.getTitle()); System.out.println("Title: " + vcCat.getTitle()); } catch(Exception e) { e.printStackTrace(); } } }
See Also