I have a column in a view with “Show multiple values as separate documents”.
When the user clicks on one of the documents, is there any way to programatically read which value they clicked on?
Meaning, if I have a document on a form called “ValueForm” with a multi-value field that contains value1, value2, value3, and those 3 values show up as separate documents in the view, is there a way for me to know which value document the user clicked on to open that form?
Thanks!
Subject: With “Show multiple values as separate” selected, how to read what is selected?
Depends on where and how you want to use that. While it’s still only one document (set a mark in the selection bar and it will appear in front of all lines referring to the document), I think that the ColumnValues property in Lotus Script MIGHT return the unique value. ColumnValues is a property available to NotesDocument objects (retrieved from a view) and to NotesViewEntry objects. As it reads data from the view index instead of the document, it might just work.
Subject: With “Show multiple values as separate” selected, how to read what is selected?
You can identify which entry it is if the multi-value column is a sorted or category column. Check out the NotesUIView.CaretCategory function.