Friday, July 24, 2009

How to implement "Bing.com" Type Ahead Search in your MOSS portal?

1. Download the Sharepoint AJAX Toolkit here - http://www.codeplex.com/sharepointajax

2. Develop a web part (VS project) to implement Bing.com Suggest type functionality using AJAX, .NET 3.0 and SharePoint Web services (you probably need the real code here huh! Email me if you need more information :)

3. Use the AutoComplete Extender in the Toolkit above by copying all the code out of the AutoComplete folder and paste into your web part project (as created in Step 2).

4. Compile and through errors and warnings find and add missing references, add more code files from the Toolkit as needed. Many common files were needed. Note that you need to set any .JS files to EmbeddedResources.

5. Use the MOSS 2007 Search API to build a ASP.NET Web Service to return a list of results based on input string value (keyword). Note that you need to host this web service within the same website (same port) as the Sharepoint site itself. Also dont forget to grant CAS trust for the Web Service assembly.

6) Post a comment if you successfully created the Bing.com type ahead search in MOSS, using the above steps

9 comments:

Stock Holm said...

Hi, I am using AjaxControlToolkit's AutoComplete Extender in SharePoint web part. I cannot make it work right now. Could you please help to post your steps a little bit more details so that I understand how you solved the problem of using Autocomplete extender in SharePoint web part? Thanks.

Stock

Anonymous said...

You need think about it. Despite the emails, the overwhelming evidence showing global warming is happening hasn't changed.
"The e-mails do nothing to undermine the very strong scientific consensus . . . that tells us the Earth is warming, that warming is largely a result of human activity," Jane Lubchenco, who heads the National Oceanic and Atmospheric Administration, told a House committee. She said that the e-mails don't cover data from NOAA and NASA, whose independent climate records show dramatic warming.

Anonymous said...

What you think about news - GOPers Hold 'Prayercast' to Ask God to Stop Health Reform ?
Wanna hear your opinion

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Anonymous said...

Good brief and this mail helped me alot in my college assignement. Thanks you on your information.

Anonymous said...

Amiable brief and this enter helped me alot in my college assignement. Thanks you on your information.

Anonymous said...

i definitely love all your writing choice, very interesting,
don't give up as well as keep penning considering the fact that it simply worth to look through it.
excited to read much more of your well written articles, thanks :)

Anonymous said...

Correctly your article helped me altogether much in my college assignment. Hats afar to you send, will look ahead in behalf of more interrelated articles soon as its anecdote of my pick topic to read.

Anonymous said...

hello, quality webpage
how to get blog posts and smash in your visitors:
http://tinyurl.com/ykqu7vk