Solved

How to retrieve view column contents in Java

Posted on 2006-11-27
3
230 Views
Last Modified: 2013-12-18
Hi,

I am now working with view and would like to retrieve the contents by column in the view. How to do this in Java?

      Column A    Column B   Column C
       Value 1A      Value 1B   Value 1C
       Value 2A      Value 2B   Value 2C
       Value 3A      Value 3B   Value 3C
       Value 4A      Value 4B   Value 4C
       Value 5A      Value 5B   Value 5C

In LotusScript we can use "myListView.Items(2).SubItem(0).Text" to get a spcific value. Is there anything like that in Java?

Many thanks.
0
Comment
Question by:davidw88
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 100 total points
ID: 18021089
The LotusScript code you gave looks strange to me... I assume you confuse it with JavaScript or so??

To get values from columns in a view, you need the ColumnValues property (in LS) or getColumnValues() in Java, but always applied to a document.

Do you have some code we could have a look at?
0
 

Author Comment

by:davidw88
ID: 18021184
Hi Sjef,

Thanks a lot for your prompt reply! getColumnValues()...this is what I need.


For the code in my question...maybe I made an error as I did not double-check my reference book. Anyway let it go as I have got your answer.

thanks agian and you have a super day!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 18023645
Hey, you're welcome! ANd the same to you too!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
A short film showing how OnPage and Connectwise integration works.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now