Hi There,I have a nice facebook style picker that I am using in a domino app that allows users to use type ahead to select values. This works fine but now i have a requirement to show only records/docs applicable to the user. when i add restricttocategory to the mix it isnt working, for example the call now would be:
/db.nsf/nameofview?ReadViewEntries=1&RestrictToCategory=CN=Jon+Doe/O=Test&StartKey=th&UntilKey=th_&count=500&OutputFor&OutputFormat=JSON
why would this not work? any other workarounds you can thinkof?
Subject: Hello: have a question about RestrictToCategory and StartKey Combo
I have a view which is a restrict to category to show docs only from one user.
But I need to include a search using startkey which searches on the second column. The other views in the app have a similar implementation of search.
This for me is not working, but startkey searches on the first sorted column and for me that column is categorized with the same user’s name (my first column is also hidden.
any suggestions. thanks!
Subject: Just a guess, but…
Check your CGI args - you have “RestrictToCategory=CN=…”
The double = is probably screwing things up.
Subject: checked that…
thx for the suggestion but retricttocategory value contains text characters only and no = sign
Subject: slash in url is the problem
problem is the “/” in CN=Jon+Doe/O=Test