SharePoint Use Cases

  • Home
  • About
  • Our Tools
  • Contact me
SharePoint, SharePoint 2010

Search with auto suggest for SharePoint lists – new version

Toni Frankola - February 12, 2012

Two years ago, while SharePoint 2010 was still in beta, I released Search Suggest for SharePoint 2010 lists. A number of people contacted me with various bug reports and feature suggestions. Finally, I found some time and refactored this old code to accommodate your suggestions.

Changes

  • Improvement: You can now define list columns (fields) to be queried
  • Improvement: You can now customize the display format
  • Fixed bug: Values from External Data Columns are not shown
  • Fixed bug: Web part is slow when querying a large list
  • Fixed bug: Trying to use a SPWeb object that has been closed or disposed and is no longer used.

Installation

Search AutoComplete for SharePoint Lists is a SandBox solution and can be deployed to any farm environment. If Sandbox solutions are disallowed for your site collection, contact your farm administrator.

UPGRADE: If you already have a previous version, uninstall it, and then re-add the solution.

  • Download and unpack solution package (it also available as open source project on CodePlex)
  • Go to your Site Collection > Site Actions > Site Settings
  • Browse Galleries > Solutions
  • Go to Solutions ribbon tab and click Upload Solution
  • Upload the WSP package you downloaded and Activate it
  • Open a SharePoint web page and Insert a web part
    (from Custom > Search AutoComplete for Lists)

Configuration

You can configure this web part via web part tool pane. Use the following settings from the Search section:

  • List name – Enter list name that you want to search
  • Display Fields Format – Enter fields whose value you want to display. Use static field names.
    Each field must be in square brackets. E.g. [FirstName] [Title] (phone [WorkPhone])
  • Query Fields – Fields that will be queried. Separate fields with semicolon. Use static field names. e.g. Title;FirstName;WorkPhone

Additional appearance options can be found in the Miscellaneous category.

Configuration Examples

The following table lists suggested configurations for default SharePoint lists (English template).

List TypeQuery FieldsDisplay Fields FormatSample Output
ContactsTitle; FirstName; WorkPhone[FirstName] [Title] (phone: [WorkPhone])John Wayne (phone 816-555-1014)
Doc. LibFileLeafRef[FileLeafRef]Sales Document.docx
TasksTitle[Title]Approve document
LinksURL[URLNoMenu]http://bing.com, Bing.com
Tags | search suggest, web parts
 0
Share Now

Toni Frankola

Entrepreneur, IT consultant, speaker, blogger, and geek. Co-founder of syskit.com.

You Might Also Like

SharePoint

Web parts and extended portals

July 26, 2007
SharePoint

SharePoint CAPTCHA

March 10, 2008
SharePoint

A great web part for SharePoint End Users

June 9, 2009
SharePoint

KPI Dashboard for WSS: Part 1 – No code required

August 3, 2009

2 Responses

  • Brett October 1, 2013 at 12:55 am

    Thanks for this. It works great.
    The Sandbox solution is very handy although when installing the web-part on a subsite, I needed to copy the JQuery folder to that subsite for it to function and display correctly.

  • Tan February 10, 2015 at 11:49 am

    SP2013 version?

  • Comments are closed.

    Previous Post Add a user to the SharePoint_Shell_Access role for all SharePoint 2010 content databases
    Next Post SharePoint installation and maintenance slide decks from Windays 2012

    Archives

    • December 2021 (1)
    • June 2021 (1)
    • January 2021 (1)
    • July 2019 (1)
    • June 2019 (2)
    • March 2019 (1)
    • February 2019 (3)
    • October 2018 (2)
    • August 2018 (2)
    • June 2018 (1)
    • April 2018 (1)
    • February 2018 (1)
    • January 2018 (1)
    • June 2017 (1)
    • April 2017 (1)
    • February 2017 (1)
    • November 2016 (2)
    • August 2016 (1)
    • July 2016 (2)
    • March 2016 (1)
    • February 2016 (2)
    • January 2016 (1)
    • November 2015 (2)
    • December 2014 (1)
    • November 2014 (2)
    • July 2014 (2)
    • June 2014 (2)
    • May 2014 (1)
    • April 2014 (2)
    • March 2014 (1)
    • February 2014 (4)
    • January 2014 (2)
    • December 2013 (1)
    • September 2013 (1)
    • July 2013 (1)
    • June 2013 (1)
    • May 2013 (1)
    • April 2013 (3)
    • February 2013 (1)
    • December 2012 (1)
    • November 2012 (1)
    • September 2012 (1)
    • August 2012 (1)
    • July 2012 (2)
    • June 2012 (4)
    • April 2012 (1)
    • February 2012 (1)
    • January 2012 (1)
    • November 2011 (2)
    • October 2011 (2)
    • September 2011 (2)
    • July 2011 (3)
    • May 2011 (2)
    • April 2011 (1)
    • March 2011 (4)
    • February 2011 (3)
    • January 2011 (4)
    • December 2010 (4)
    • November 2010 (3)
    • October 2010 (3)
    • September 2010 (4)
    • August 2010 (1)
    • July 2010 (4)
    • May 2010 (2)
    • April 2010 (2)
    • March 2010 (3)
    • January 2010 (2)
    • December 2009 (3)
    • November 2009 (5)
    • October 2009 (2)
    • August 2009 (7)
    • July 2009 (3)
    • June 2009 (4)
    • May 2009 (3)
    • April 2009 (5)
    • March 2009 (8)
    • February 2009 (5)
    • January 2009 (8)
    • December 2008 (9)
    • November 2008 (8)
    • October 2008 (7)
    • September 2008 (4)
    • August 2008 (6)
    • July 2008 (5)
    • June 2008 (3)
    • May 2008 (4)
    • April 2008 (6)
    • March 2008 (4)
    • February 2008 (3)
    • January 2008 (6)
    • December 2007 (1)
    • November 2007 (3)
    • October 2007 (3)
    • September 2007 (2)
    • August 2007 (1)
    • July 2007 (12)
    • June 2007 (2)
    • May 2007 (3)

    Connect Us

    All postings on this blog are provided “AS IS” with no warranties, and confer no rights. All entries in this blog are my opinion and don’t necessarily reflect the opinion of my employer.

    • Home
    • About
    • Our Tools
    • Contact me

    Copyright (c) Toni Frankola 2008. - 2019.