0 pts.
 Passing Arguments when Calling an Agent from a webbrowser
Dear Colleagues I have a big problem. I'm using a LotusScript Agent to show the results of Query vs Oracle using Uselsx "*lsxlc" in a html page. I have to implement a Call whit two arguments, and is not possible include them in the Initialize Section! The arguments are: year As String 'year in fourt digits expression profile As String 'S Student, T Teacher, for example The call of the agent looks like: http://server/path/notesdatabase.nsf/agent_name?OpenAgent&arguments How Can I built the call? and how I implement the process of the arguments in the Initialize Section. Thanks a lot for your patience! [Xavi]

Software/Hardware used:
ASKED: July 17, 2006  11:35 AM
UPDATED: July 19, 2006  8:07 AM

Answer Wiki:
I don't understand. Why can't you just use something like http://server/path/notesdatabase.nsf/agent_name?OpenAgent&year=2006&profile=S Or, why can't you refer to the year and profile as fields via the documentcontext? Is it the use of the querystring cgi variable you're missing?
Last Wiki Answer Submitted:  July 17, 2006  12:25 pm  by  Stiletto   2,700 pts.
All Answer Wiki Contributors:  Stiletto   2,700 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

In the agent being called, couldn’t you use the DocumentContext object to get the field values off of the document

 0 pts.