Suppose you want to use the same LotusScript code for an action button to use in Web. We can use the LotusScript code in WebQuerySave and WebQueryOpen event.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
In the action button use the formula @command([filesave])and use the LotusScript code as an agent for WebQuerySave event. It is to be noted that the current document is refered as documentContext of NotesSession class.