Tuesday, June 16, 2009

Simple CAML Search

There are so excelent projects using CAML and U2U and "Sike Mullivan" on codeproject made a excelent project, and others projects using Ajax with Search List querys.
http://blog.u2u.info/DottextWeb/patrick/archive/2005/05/29/3522.aspx
http://www.codeproject.com/KB/sharepoint/SPQueryBuilderDialog.aspx

But why i did this project, you problably ask, this project is a support in a simple way to create dinamyc search columns of document, without creating views and on Every site can use Custom List and select the columns i want to search in a very simple way.
Usefull...., to experts they have superb projects on dinamyc CAML and need more complexity like see content of Documents an more specific controls problaby not, but simple sharepoint implementation Want to create custom Search List and return direct Documents in a fast way.

On WebPart edit Mode, have 2 Modes "Search columns" and "Output Columns",
On "Search columns"
Select the columns we want to Search,.
Multiple Values are in Dropdownlist.
Date time value, are on 2 Datetime Controls "From/to".
The other Fields are in TextBox.

On "Output Columns"
Select the columns we want to Output.
After Select Columns and make the search will Show on Grid The values we select.



Parameters
We can chose the List from current Web
Select Link to Show List Item or Documents URL
Number of rows by page.


http://simplecamlsearch.codeplex.com/

Hope you like....
Post a Comment