Recompile Lotus Notes Agents When Script Libraries Change.
If you make changes to a script library in Lotus Notes, it’s sometimes difficult to know when you have to recompile all the Notes agents that call the script library and when you don’t. Here are some observations I’ve made.If you change the signature of a function, sub, or class method, you have to recompile for not have error when use.
If Notes agent uses a constant value from a script library and a constant in a script library is changed:
* if the Notes agent is run in Debug mode, the new constant is used
* if the Notes agent is run manually or scheduled, the old constant is used (even if you just ran it in Debug mode and saw the new variable)
* if the Notes agent is opened, saved with CTRL-S (with no changes having been made to the agent), and closed, the old constant is still used
* if the Notes agent is opened, modified, and saved with CTRL-S, the new constant is used
* if the Notes agent is recompiled using the API, the new constant is used
Read more…
Viewed 5243 times by 1446 viewers













