We have two forms, one for web and one for notes. In the web, when user clicks on “submit” the form is submitted to WebQuerySave agent.
The agent is rather simple:
Dim curDoc As NotesDocument
Set curDoc = s.DocumentContext
Then runs a forward agent:
Dim returnForwardMail As Boolean
returnForwardMail = forwardDocument(db,curDoc)
The agent then sets all emai.properties and we build up the RT-body:
Dim rtBody As New NotesRichTextItem(mailDoc,"Body")
Call curDoc.RenderToRTItem(rtBody)
So, in R8.5 this means the RT will be all the html. In previous releases (r7 and R6.5) the “notes” version of the form was used.
As we are in the process of migrating to r8.5 we have different outputs depending on what server runs the agent. This is not good for us and none have had the time to dig into new features in R8.5 from dev side.
Basically, we end up in mailing the html-junk and not the notes structured fields we made for this functionality.
I do need a quickfix and would be happy if someone could guide me to a simple codefix that will work in R7 as well!! Also, some documentation of this change would also be good to read.
Tips and info needed… don’t want to shut down half the cluster for a “simple” thing like this.
I know it has to do with the http task now running agents called from the web as before when the agent manager ran them. But there should be some simple “fix” w/o reworking it all?