Hi all,How can i call Lotus Script/Java Agent from JavaScript.
Earlier in R5 i used to click a hidden button(this needs to be hidden using CSS and Not Using Hide When) and call the agent.
Should i have to do the same in R6,
it was a real pain to do like this.
Thanks in Adavance,for replying
Kiran
Subject: How can i call Lotus Script/Java Agent from JavaScript
Have you tried setting the location.href such as in a script block:
location.href = “/db.nsf/AgentName?OpenAgent”;
If you don’t want to dump the agent contents over whatever document is open in the browser window you can just load the URL into a hidden iFrame on MSIE or a layer on NS/Moz ala:
document.frames(“iframeName”).location.href = …
(I don’t have a layer reference handy but I’m sure you can find the DOM specifics on the web).
Hope that is helpful.
Phil