I am trying to use the FTSearchSorted method of the view object in the SSJS. I have the underlying view's first column sorted in ascending order. I tried with all different parameters. It always gives that exception, except when I only give the the search query as the parameter. The domino version is 8.5.3 FP 2. Any suggestions?
1 Answer
make sure the view is user sortable
-
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.– athspkSep 13, 2012 at 18:19
-
4
-
1@ThomasAdrian: This answer is showing up in the Low Quality Posts queue because of how poor/vague/short it is. I recommend you improve your answer (such as by adding details on how to check "the view is user sortable"), or you're at risk of attracting negative comments/ downvotes. Alternately, you could/should consider moving this answer to a comment instead.– MattSep 13, 2012 at 18:33
-
Hi Thomas Adrian, your answer is correct. Actually I had figured that out already and was going to post the solution myself. Anyways, thanks. The problem was that, the SSJS error message didn't provide enough details of the error. Then I tried the same in the java code and got the clue about what was wrong. Sep 13, 2012 at 18:58
-
Rajeev, you can find more details on the SSJS error messages in the XPages log files on the server. For easy access use the XPages Log File Reader app available on OpenNTF. Sep 13, 2012 at 19:00