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)?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi twg !

Use a view action button / Agent that runs on selected documents.

Use UnprocessedDocuments property to get the handle to the current document in the view.

Pl see "UnprocessedDocuments property" in the help database for more details of unprocesseddocuments.

Good Luck !


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
twgAuthor Commented:
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.


Can you give more details ?

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

yes u can do that through JavaScript, but only in R5, using the view applet.
twgAuthor Commented:
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, 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:

An example in here:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.