Custom search webpart in sharepoint 2010 - c#

I wish to create a custom search webpart using visual studio 2010 using c#. The search must be able to search for all users, document libraries, list, etc in my sharepoint and display the results. How should I go about creating it. I searched various sites, and I am unable to find a good source for creating a custom web part that I can deploy onto my sharepoint 2010.
Please assist. thanks.

To develop a custom webpart for search, You can follow the post here :
http://extreme-sharepoint.com/2011/10/28/sharepoint-keywordquery/

Related

Installation Solution Sharepoint Online

I see lot of solution c# for Sharepoint but i have sharepoint online 2013 with microsoft server.
How can i install solution to my sharepoint online ?
For example: https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d#content
Normally I use jquery for Sharepoint but i need convert Htlm to pdf and save this to Document Library.
For Information : I use visual studio to develop xamarin applcation and plumsail forms designer to develop sharepoint forms.
Can you help me ?
Thanks.
please explain what kind of Solution it is. You cant install a custom Solution with server side code in sharepoint Online.
You might use a Sharepoint Add in. If you need Server side code you can develop a provider hosted app instead.
Ok, so what you need is a Sharepoint Add In.
You are in the good road looking at some JavaScript solution. Keep looking for a suitable one.

Sharepoint 2013 Connect Search Box Web Part (Provider) with Custom Web Part (Consumer)

I need to use connected WebParts to build a custom webpart that gets data from the search box WebPart on the search results page. Which, from exporting it, I think it's this class: Microsoft.Office.Server.Search.WebControls.SearchBoxScriptWebPart
The problem is finding what Interface to use and how to use it.
Is this even possible? I mean, can we connect OOTB Webpart to a custom WebPart?
You could inspect the ootb implementation of the searchresults webpart with e.g. ilspy? I assume it would be possible. The search webpart infrastructure is factored for connecting.

How can I create a custom task form in Sharepoint 2010?

is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in Sharepoint 2010 it wants an URN in the elements.xml what really drives me crazy because I don't get it to work. Most of the tutorials about custom forms I found were about creating forms with InfoPath or Designer but I can't use both of these programs. Is there a way to create forms in SP 2010 with VS2010 similar to the way it works in WSS3?
Many thanks in advance for your help!
You might have more luck posting your question at https://sharepoint.stackexchange.com/. The stackexchange site dedicated to Sharepoint.

SharePoint 2007 - How to create a site template programmatically

In my SharePoint 2007 project I have to use 3 site templates. Using these templates I create new sites programmatically. I also want to create the templates programmatically.
Is that possible?
If yes, I guess I have to use a SPSite object for creation.
What should I do exactly?
You can use the SPWeb.SaveAsTemplate method to save a SharePoint site as a site template solution in the Site Template Gallery.

How to create a workflow app on Sharepoint

I'm looking to create a workflow app on Sharepoint. Basically at the top level there's a list of projects. When you click on a project, a list of states is displayed (dev/qa/staging/prod) etc...when a developer finishes their task, they will change the state to QA, and the QA team needs to get a notification.
Is this possible to accomplish in Sharepoint 2007 without any custom webparts? If not, what's the best way to approach this?
Thanks.
SharePoint 2007 supports creation of workflows out of the box MOSS 2007 adds more features on top of basic functionality provided and 2010 versions provide more inprovments.
Check out http://msdn.microsoft.com/en-us/library/bb386168(v=VS.90).aspx or http://msdn.microsoft.com/en-us/library/bb386211.aspx to get statred.
Search for "SharePoint workflow" on your favorite search engine for more information.
I was able to do what I wanted to do using SharePoint Designer which is a free download.

Categories