Hi all,
We have a unique situation. Notes’ inability to use Request_Content in a form has forced us to use an agent to read data from a POST command.
The question is this:
Is there a way that an agent could pass a lot of data (more than the URL is capable of holding) to a form? This is not the agent called in the WebQueryOpen statement. This agent will be calling the form.
Note: We do not wish to save the data anywhere.
Thanks for your help in advance. Post here is suggestions and/or questions.
Rick
Subject: How to pass a lot of data from an agent to a form???
I’m not sure if this would work for your application but the reference below
is a pretty neat agent that issues a …/form?CreateDocument. It appears
that doc.Request_Content(0) has a limit of 32,000 characters. At least using
a form with a series of “”.
How much data are you sending?
Anyway the reference below uses a …/form?CreateDocument url and then using a
Java OutputStreamWriter sends “fieldName=fieldValue” pairs. I have tested this
technique and was successful in appending over 80,000 characters to one richtext
field. I stopped testing after that so it can probably handle more characters.
Richtext fields are limited to no more than 64K writes at a time so it would
seem that the ouput writer is handling the chunking. There are actually three
fields for this data of lengths, 36002, 36002, and 8684 characters respectively.
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/fe5c769765cdd13385256c5b002203d7?OpenDocument&Highlight=0,URLEncoder.encode
Subject: RE: How to pass a lot of data from an agent to a form???
pass data from an agent to a form? easy. Do it on the back end and present the result.
The only bugger here is that they may not choose to save the form. Use a field to check that and periodically delete the unused forms.