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)?
twgAsked:
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.

ArunkumarCommented:
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 !

:)
Arun
0

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.
0
ArunkumarCommented:
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
0
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.

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