Skip to main content


Showing posts from June, 2007


Refuctoring is the process of taking a well-designed piece of code and, through a series of small, reversible changes, making it completely unmaintainable by anybody except yourself. Comprehensive regression testing guarantees that nobody will be any the wiser. Link to Original Article

Prohibit users to trigger agents from web

Andrei's Blog about Lotus Domino and other things: Prohibit users to trigger agents from web : "Posted by Andrei Kouvchinnikov" When developing agents, it's easy to forget that every agent can be triggered from web with agentname?OpenAgent URL. Such agent invocation can cause unpredictable results. To avoid this, developer has these 2 options: 1) Hide agent from web using property "hide design element from: Web browsers" 2) Programmatically find out if the agent is triggered from web and exit Sub Initialize ev=Evaluate("@ClientType") If ev(0)="Web" Then Exit Sub 'Do not run agent if triggered from web 'here goes the rest of the code 'which will be executed in Notes client but not on web End Sub