Link to home
Start Free TrialLog in
Avatar of twg
twg

asked on

get a handle to a document

I have a view contains documents.
I want to get a handle to the current selected document in this view (the document in which the cursor is on it - without opening the document).
How do I do that (in Lotus/Java script)?
ASKER CERTIFIED SOLUTION
Avatar of Arunkumar
Arunkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of twg
twg

ASKER

Hi Arun!
thanks alot for your answer.
The thing is that an agent that works on a selected document doesn't work on the Web and I need something that works
on Lotus and on the Web too.
Please answer my comment.
Well,  How do you select a document over the WEB ?  In notes you can make a check mark at the view selection margin.

ON WEB HOW DO YOU DO THAT ?

Can you give more details ?

-Arun
yes u can do that through JavaScript, but only in R5, using the view applet.
Avatar of twg

ASKER

Hi and thanks for your answers.

For Arun - I need exactly what you told me in the first answer but I need it to work on the Web (So how do I do that, maybe with JavaScript?)

For ghassan99 - can you please give me more details and an example of that?
To access the view applet u have to use their APIs.
Those APIs can be manipulated through JavaScript.  Take note that these are
not found in the help coz Lotus is changing them constantly...like, for example, in the new upgrade
5.0.1, u have the ability to open the document clicked in another frame.

All the API's for the view applet are found here:
http://waterworks.lotus.com/wwbpp/katlc2.nsf/Javascriptview/JS027CB49509492BC3EBD852566F8005E1C95?opendocument

An example in here:
http://waterworks.lotus.com/wwbpp/katlc2.nsf/Javascriptview/JS0266AB9DBFAA0EF29A8852566F50080A782?opendocument