Search DominoPower's 11,425 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
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.

Product information and resources
For more information on IBM Workplace Web Content Management, visit http://www.lotus.com/products/product5.nsf/wdocs/homepage.

For more information on C-Search, visit http://www.c-search-solutions.com.

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.


« Previous  ·  1  ·  2  ·  3
Other articles you might like
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Quickr place Superusers
Writing Client-Side Javascript for Re-Use
Lotus Notes R8.5.1: Bug in Contacts "Print Selected View"
New Notes/Domino Technotes published about Chile's extended daylight saving time
SnnT: How to prevent Google from listing your Sametime Server
How to send someone an email that shows your calendar availability
"The collection has become invalid"
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- 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.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login