Passing Arguments when Calling an Agent from a webbrowser

Tags:
Lotus Domino
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]

Answer Wiki

Thanks. We'll let you know when a new response is added.

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?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Dpeabo
    In the agent being called, couldn't you use the DocumentContext object to get the field values off of the document
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following