?searchview and ?ReadViewEntries

Hello everyone!

I’m facing with problem,

I want to receive results from view (after using search) as XML data, but problem that I have search using 1 url.

my current url

http://…/myView?searchview&query=12

I wish to add something like

http://…/myView?searchview + ReadViewEntries&query=12

Is it possible ?

Thnx!

Subject: ?searchview and ?ReadViewEntries

No – but we have asked for it. Look for ?SearchViewEntries in a future version of Domino. For now, though, you will need to either accept view HTML or (if your query allows it) sort a view appropriately and use &RestrictToCategory or &startKey=x&UntilKey=x~.

Subject: RE: ?searchview and ?ReadViewEntries

thank you. I will try these approaches.

Subject: RE: ?searchview and ?ReadViewEntries

and you can search a (custom) view that generates XML or JSON directly. This will make you have one “normal view” and one “web-search-view”, but you get the data in the best form for your usage.

Subject: RE: ?searchview and ?ReadViewEntries

Just an FYI for people heading down this path…One issue with this method is that in the web-search-view I have had a lot of problems with encoding/unencoding the data as it is passed from the Domino server to the browser. ?ReadViewEntries handles all that for you, but if you code the XML or JSON into the view columns yourself for Web searching, be prepared to learn the encoding strings for all standard characters (including comma, apostrophe, quotes, ampersands, etc.)

But I have found this method works great if you have controlled data (i.e., not a Subject field that the users can freeflow type).