JAVA/CORBA CLASSES


Examples: IsHideDetail property
This agent toggles whether the detail is hidden for a total column.

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 vc = view.getColumn(6);
     vc.setHideDetail(!vc.isHideDetail());
     System.out.println("IsHideDetail = " + vc.isHideDetail());
       
   } catch(Exception e) {
     e.printStackTrace();
   }
 }
}

See Also