At my Search talk at SPC11, I demoed how to build a Silverlight application
that could query search in SharePoint Online. I also built a separate
application that could query people search, but I haven’t posted on it yet
until today. To query people search, we have to know a few things about how
SharePoint operates. It all starts with understanding the scopes
involved. If you take a look at your Search Scopes link in your site
collection settings, you’ll see a similar list to the one below.
What’s funny here is that SPO actually returns item counts for the entire
(non-partitioned index). This tells me that there are 205,000 items and
96,000 people on my particular Office 365 SharePoint host.
Ultimately, querying people search is just a matter of executing a query
against the scope People, but there are a few catches. In SharePoint 2007,
you could actually exe... (more)
At SharePoint Conference 2011, I showed off a great looking advanced search
application using Silverlight 4. This application queried the Search web
service at /_vti_bin/search.asmx to retrieve results and display them
directly inside the application. A couple of years ago, I demonstrated how
to build an advanced search application with Silverlight 3. This
application is very similar to that one except that I take it a step further
and show you more of the possibilities of what the user interface could look
like.
The code you will see today was intended for Office 365 / Share... (more)
Visual Studio 2010 makes it really easy to add and deploy solutions when you
are developing, but you may eventually want to deploy those solution packages
elsewhere right? We can still use stsadm, but that is effectively
considered deprecated now in favor of PowerShell. In the past to add a
solution, we used an stsadm command like the one below. In today’s
example, we’ll be working with a package called SharePointProject2.wsp on
my server named sp2010.
stsadm –o addsolution –name SharePointProject2.wsp
To get started with PowerShell, run the SharePoint 2010 Management Console ... (more)
I survived another SharePoint Saturday in Houston this weekend and had a
great time. It was fun seeing old friends and making some new ones as
well. As promised, here is a link to my slide deck posted on SlideShare.
Thanks again to Victor and all of the volunteers and sponsors who made it
possible.
New SharePoint Development features with Visual Studio 11
... (more)
ULS Viewer works great for finding Correlation IDs but once you start dealing
with large farms, I find PowerShell works much better. A Correlation ID is
great but it doesn’t do you any good if you can’t find it in the logs.
I put this script together through the help of posts from Wictor and
others. Using Get-SPLogEvent you can find pretty much anything you need in
the logs, but without the right parameters it can run very slowly. I’ve
seen some scripts try to filter Get-SPLogEvent using a | but performs the
filtering after it retrieves everything from the database. The key ... (more)