I am working in Lotus notes and have the following problem.
I have my own custom dll that I pass a parameter into which returns a URL. This dll needs to live on our server and cannot be ditributed. I call it using the following lotuscript (which all seems to work):
Dim strInput As String
Dim strReturn As String
strInput = "test input string"
strReturn = myObj.EncryptMe(strInput, True)
The problem I have is that I have a Lotus Notes form. Prior to showing the form to a user, I'd like to call a server side function (passing in a couple of variables from the document) that will return a string. I then need to embed this string into the document.
How should I go about doing this? I have thought about placing the lotus script above within an agent, and calling it via a form event but am unsure as to how to do this (or embed the resulting string).