detailData is a viewEntry so I selected the property getColumnValues from the reference for Domino/NotesViewEntry which is plural and there is no singular getColumnValue. In any case when I use the notation
"Sort Order " + detailData.getColumnValue(1)
to get the second column in the view I get the error:
Error while executing JavaScript computed expression
Script interpreter error, line=2, col=28: [TypeError] Error calling method 'getColumnValue(number)' on an object of type 'lotus.domino.local.ViewEntry [Static Java Interface Wrapper, lotus.domino.local.ViewEntry: lotus.domino.ViewEntry]'
JavaScript code
1: //"Sort Order " + detailData.getDocument().getItemValue("Sort")[0];
2: "Sort Order " + detailData.getColumnValue(1)
Referencing the column by name gets this error:
Error while executing JavaScript computed expression
Script interpreter error, line=2, col=28: [TypeError] Error calling method 'getColumnValue(string)' on an object of type 'lotus.domino.local.ViewEntry [Static Java Interface Wrapper, lotus.domino.local.ViewEntry: lotus.domino.ViewEntry]'
JavaScript code
1: //"Sort Order " + detailData.getDocument().getItemValue("Sort")[0];
2: "Sort Order " + detailData.getColumnValue("Sort")
Using the getColumnValues gets this:
Error while executing JavaScript computed expression
Script interpreter error, line=2, col=28: [TypeError] Error calling method 'getColumnValue(string)' on an object of type 'lotus.domino.local.ViewEntry [Static Java Interface Wrapper, lotus.domino.local.ViewEntry: lotus.domino.ViewEntry]'
JavaScript code
1: //"Sort Order " + detailData.getDocument().getItemValue("Sort")[0];
2: "Sort Order " + detailData.getColumnValue("Sort")
The view in question is dirt simple just three columns the first is a name, the second is the sort order and the third is just a description.
This is really perplexing.