Search a list/library in SP using a Forms webpart
Posted by rameshch on September 15, 2008
Here is an outline of the steps:
1. Open your site in SharePoint Designer.
2. In the Data Source Library section (on the right), expand SharePointLists and select the List to be searched(it’s not mandatory we can use share point List or documents)
3. Click on the down arrow next to the List and choose Show Data
As shown Below from list click on Show Data From the Inserted Selected Fields, select Multiple Item View
4) Now, Insert a Form Web Part (Insert -> SharePoint Controls -> Form Web Part)
5) From Design view, click on Parameters link and create a new parameter (defaults to Param1)
Fig3
6)Now choose on WebPart Connection From the actions drop down, choose “Get Parameters From” as shown in the efigure below and click Next.
7) Choose Connect to Web Part on this Page and on the next screen choose the Form Web Part Match the T1 (or the variable you specified) to the Param1 variable.
From the list properties window shown in Fig3, choose Filters and add the Fields to match the requirement. This filter will act as the keyword search and you can select the fields and type of search you like.
9) Save it and checkin the page and try ithe list search feature from the browser.! There are so many other options explore them.
This entry was posted on September 15, 2008 at 3:47 pm and is filed under share Point. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.




