getColumnValues() includes not all the the column values in the result set

Hi,

I try to get the view data from domino server using the java Lotus Domino API (NCSO). I have a problem, namely, the vector returned by method getColumnValues() from the class lotus.domino.ViewEntry contains not all the column values. For example, if a view column formula contains a constant the value is not included. There is no placeholder in the result vector (I would return a vector with a “null” placeholder…) As a result of it I can’t map the column values to the corresponding view columns. The size of the column vector is unequal to the size of the column values vector and there is no information, what column the value is associated with. How can I go round the problem???

Thanks in advance

Igor

Subject: getColumnValues() includes not all the the column values in the result set

One thing you could do is not use constants… or at least change your constant formulas to something like this:

@If( 1=1; “[Constant Value]”; “” )

HTH,

Andrew P. Tasi

Subject: RE: getColumnValues() includes not all the the column values in the result set

Hi Andrew,

I develop a tool that can access any notes databases. That means that I have no bearing on the view design and have no clue what for the formulas are used in the view. The main problem is that I can’t rely on the behavior of the getColumnValues() function. I did build in a validation to assure that the size of the column vector is equal to the size of the column values vector. If these are unequal I give the user (lotus developer) an opporunity to do the mapping between the included column values and the corresponding column manually. But this way is not elegant… Have you any ideas?

Thanks

Igor