Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to retrieve view column contents in Java

Posted on 2006-11-27
3
Medium Priority
?
240 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

610 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