Domino 6 provides ReadViewEntries, to return a view as XML. It is a very useful function, when user need to create highly customized layout. Usually, a consistent layout to listing and searching is preferred, but here comes the problem: Domino have no build-in fuction to return search result as XML. So, we will need to build a agent for that.
I’ve found that, Vince DiMascio has kindly done that for us, creating a SearchViewEntries agent. But I’d like to expend its feature, so that it comes more like the ReadViewEntries. The code is here:
SearchViewEntries.ls
The agent should be called from web by this format:
/SearchViewEntries?Open&vw=VIEWNAME&q=QUERY&Start=STARTPOSITON&Count=NUMOFENTRY
Anyway, I still hope that IBM can provides SearchViewEntries as build-in feature, so that it could be more optimized.
Similar blog post: Lotus – Profile Document Cache