Hello,
I need to customise the mail85.ntf template to have an agent wich runs when the mail base is opened.For notes client i had no problem to do that,but for the web access should i modify something in the Forms85.nsf ,or there is a special form in the mail85.ntf wich should be editted??
thank u for your help
Subject: No easy way.
Unfortunately, there is no “ondatabaseopen” event for the web. Almost all iNotes URIs go through the mail-database, the mail-database must be re-opened for every GET and POST.
You could possibly run an agent in the Custom_Scene_PostLoad_Lite callback function in the Custom_JS_Lite subform, which could set a cookie or a global flag to indicate it has been run.
See here for how to create an extension forms file which contains the iNotes customization callbacks.