How to create HTML on the fly with WebQueryOpen event?

Hi !

I’m new to lotusscript.

I wonder how it is possible to create dynamic HTML page with LS with webQueryOpen event ?

I red that Domino ignores all that is printed by any agent during this event.

I think it should be possible to modify a value of a fied or something like that (not with simple action in the agent) but I m not sure to know the right class to use … notesSession and the DocumentContext propreties ?

What is the best practice to achieve that ?

Thx for your help !!!

Raphael.

Subject: how to create HTML on the fly with WebQueryOpen event ?

you can write the html to a field if that’s what you want to do. Alternatively you can use a page with passthru html and computed text.

If you just want to create an entire dynamic page then you can just use an agent to “print” the html for the whole page.

Use session.documentcontext in scripts to get a handle on the document being processed.

Subject: how to create HTML on the fly with WebQueryOpen event ?

this might help…either way its a good pointer:http://expertanswercenter.techtarget.com/eac/expertAnswer/0,295208,sid63_gci1056944,00.html?track=NL-200&ad=504933

Subject: RE: how to create HTML on the fly with WebQueryOpen event ?

Thx guys !

I ll try that :slight_smile: