Answered by:
Help Needed..

Question
-
Hello All,
I am new to SharePoint so please accept my aplogies first being a NewBie.
I want to achieve belowI have certain list on my sharepoint site, Now on a new page I want to create a Search Like Control which can filter my results.
My Search Parameters has a DropDownList which is getting filled from other SharePoint Lists, Now I dont have adminstrative Rights on my server.so I cannt think of having, .ascx and .dll or code to deploy on server.
I have following approach :
Create Content Editor WebPart : Design a Search Box like in Content Editor Webpart.
Fill the DropDown List with the other SharePoint List on my server. when User click OK.
I have one other Content Query Webpart which will derive data from other list which will get filtered.
Now the problem is : How should I fill the DropDown List from other SP list( Some JQuery/ Rest Service ???)
Then when User Apply Search Filter, How can I get List Filtered and Show on Content Query Webpart ?? (may be from querystring not sure????)
Please share your ideas, or sample code. Thanks in advance.
Swapnil S
Monday, June 4, 2012 12:46 PM
Answers
-
Hi,
If I understood your requirements, your solution in : http://spservices.codeplex.com/
Eng.Mostafa Absy SharePoint Developer http://wmostafaw.wordpress.com
- Marked as answer by Lhan HanModerator Sunday, June 17, 2012 3:12 PM
Friday, June 15, 2012 4:14 PM -
Content Editor Web Part, jQuery, REST... you can make the problem as complicated as you like... ;-)
If I understand your question, you can do it "out of the box" using standard web parts and web part features.
For all SP editions:
- Add to web parts to a web part page: the web part for the list to be filtered and a web part for the list with the options.
- Connect the web parts. When a user clicks an item in the "list with the options", the "list to be filtered" will only display the matching items.
See here: http://office.microsoft.com/en-us/sharepoint-server-help/connect-data-in-web-parts-HA010024105.aspx
For SP Enterprise Edition (and maybe Standard):
- Add a web part for the "list to be filtered"
- Add a "SharePoint List Filter" web part and configure the web part to use data from your "list with the options".
- Connect per the first example
See here: http://office.microsoft.com/en-us/sharepoint-server-help/work-with-filter-web-parts-HA010033786.aspx
Neither of the above will display a dropdown, but this is doable. You can filter a list by building a query string (http://techtrainingnotes.blogspot.com/2012/03/sharepoint-search-filter-or-sort-lists.html). You can build a dropdown list of URLs with query strings by using a Links List along with a Content Editor Web Part with a little JavaScript (http://techtrainingnotes.blogspot.com/2010/12/sharepoint-convert-links-list-to.html).
Mike Smith TechTrainingNotes.blogspot.com
- Marked as answer by Lhan HanModerator Sunday, June 17, 2012 3:12 PM
Saturday, June 16, 2012 7:17 PM
All replies
-
Hi,
If I understood your requirements, your solution in : http://spservices.codeplex.com/
Eng.Mostafa Absy SharePoint Developer http://wmostafaw.wordpress.com
- Marked as answer by Lhan HanModerator Sunday, June 17, 2012 3:12 PM
Friday, June 15, 2012 4:14 PM -
Hi,
Using Sharepoint designer place the search control on your master page itself. Then use this master page to create your page.
Then this new page will also show you the search bar.
I hope this will help you out.
Thanks, Rahul Rashu
Saturday, June 16, 2012 5:02 PM -
Content Editor Web Part, jQuery, REST... you can make the problem as complicated as you like... ;-)
If I understand your question, you can do it "out of the box" using standard web parts and web part features.
For all SP editions:
- Add to web parts to a web part page: the web part for the list to be filtered and a web part for the list with the options.
- Connect the web parts. When a user clicks an item in the "list with the options", the "list to be filtered" will only display the matching items.
See here: http://office.microsoft.com/en-us/sharepoint-server-help/connect-data-in-web-parts-HA010024105.aspx
For SP Enterprise Edition (and maybe Standard):
- Add a web part for the "list to be filtered"
- Add a "SharePoint List Filter" web part and configure the web part to use data from your "list with the options".
- Connect per the first example
See here: http://office.microsoft.com/en-us/sharepoint-server-help/work-with-filter-web-parts-HA010033786.aspx
Neither of the above will display a dropdown, but this is doable. You can filter a list by building a query string (http://techtrainingnotes.blogspot.com/2012/03/sharepoint-search-filter-or-sort-lists.html). You can build a dropdown list of URLs with query strings by using a Links List along with a Content Editor Web Part with a little JavaScript (http://techtrainingnotes.blogspot.com/2010/12/sharepoint-convert-links-list-to.html).
Mike Smith TechTrainingNotes.blogspot.com
- Marked as answer by Lhan HanModerator Sunday, June 17, 2012 3:12 PM
Saturday, June 16, 2012 7:17 PM