R8.5 agent uses "web" and not "notes"form

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?

Subject: Same problem

Same problem any news about this?

In my case I have two form with the same alias, but different name, the workaround I used was to use the form name instead the alias.

though this is not the best, it works for me.

Subject: Same problem

After changing from Domino Server 6.5 to 8.5 the RenderToRTItem now use the web form instead of the notes form in a scheduled agent.This is a bug or a intentional change?

Anyone has found a workaround yet?

Subject: Same result using 8.5.1 client.

Drat.