|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extend the reach of your IWWCM search with C-Search (continued)
and ([SiteArea] CONTAINS (Live Content))
|
SiteArea is an IWWCM field. All ERO content had been assigned to the Live Content site area.
Then I concatenated the word and constraints parts to build the Domino query string. The following shows the resulting query from entering masterton carterton (with any words selected) and restricting the search to "Review reports only":
(masterton or carterton) and ([CS_OriginalDatabase] CONTAINS (Web Reports))
|
With the final query string built, the query would now need to be executed in C-Search and the results presented to IWWCM. This was achieved with the following two lines of JavaScript (These are the last two lines of code behind the "Go" button).
var url = "Publishing.nsf/Content/Search Results?OpenDocument&IndexDb="C-Search.nsf/(SearchWeb)/?SearchView&Query=" + queryString + "&SearchOrder=4";
window.parent.location.href=url;
|
The first line builds a URL to an IWWCM content page called "Search Results". Note the two parameters, IndexDb and Query, that have been added to the URL. This is where C-Search meets IWWCM. You will see just how important these two variables are shortly.
The last line loads the search results URL into the current window.
C-Search was now ready to be used in IWWCM. Next week, I'll explain how integration was finalised by configuring IWWCM to render search forms and results from C-Search in the ERO web framework.
Colin Neale is Notes consultant and author of C-Search, C-Search for Domino.Doc and the C-Search Mail Monitor. He can be reached at cneale@c-search-solutions.com or http://www.c-search-solutions.com.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.
Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.
Learn how to easily clean up your address book. |
-- Advertisement --
Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.
Register by April 10 to save $200. |
|
|
|
|
|
|
|
|
|
|