hi everybody...i am quite new to notes..i wanted to know... is there a way i can launch a form in web using lotusscript agent.. and in that form's field i want to put some values thru this lotus script agent...pls reply to this...
If I remember correctly, you could use something like:
Print "[/test.nsf/testform?openform]"
it will open the "testform" in the browser via a lotusscript agent. To use this method, you still have to create a form first.
On the other hand, you could consider creating a HTML form instead, all you have to do is:
Print "<form>........</form>"
and use print statement to output all the HTML element in the form.
For the second part about putting values, I need to understand exactly what you meant to do. I guess you might be able to use cgi variable to pass some values in the agent and process it.
I think me and slpeter both have same problem,on my part i want to view forms from my NOTES database using ASP.NET,what additional codes or process will i add to make my forms or NSF web enabled,im using R5.
thanx a lot potatoegg..regarding my second part of the question..my requirement was to fetch a value from the database and put it in the field of a form, while launching the form using lotusscript in browser as a default value.....
i did used some workaround and solved the problem..but still eager to know whether it can be done by lotusscript...
My apology of not replying in the last few days.....Getting pretty busy with work....Here is my attempt 2...
I am not a particular expert in .NET, so I apologise for not able to give you the full picture on how this could be done.
There is one question to both of you, why are you both using agents? Domino documents and forms could be access directly using URL in specific formats.
I guess both of you just need to know how to get document and open forms using Domino and I think the following is a handy document that refer to how to use different component like forms, views, documents via HTTP from Domino from IBM LDD. The URL is:
It's a bit old and it is only for R5, but I think it should be enough to start and for more details, refer to help in Domino.
chardulce:
- I guess you will need a view create (says "lookup" with the document key sorted and exist in the first column (e.g. 123). To open the document, all you need to do is:
There should be a field call Query_String(hidden) in the form and you could use extract the parameter and put it as a default value in your field, you might need to using WebQueryOpen agent to do that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.