Visual Studio 11 adds a new feature that makes working with Silverlight in
SharePoint 2010 a bit easier. The new Silverlight Web Part feature
automates deploying your Silverlight applications to SharePoint and can
really save you a bit of time. We took a look at how the Visual Web Part
works in VS11 a while back. Now, let’s see what happens when we use
Silverlight.
To work with Silverlight,you can either create a new project or simply add a
new item to an existing project. I’ll start by creating a new project by
choosing the item SharePoint 2010 Silverlight Web Part. Remember the number
of project types has been reduced in VS11.
After you provide the usual SharePoint specific information, a new screen
will prompt you for information on your Silverlight application. You can
use an existing application or let it create a new project for you.
You have a choic... (more)
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-parti... (more)
Sometimes, it is good to get back to the basics. This may seem like a
simple task for many of you, but there are many who don’t fully understand
what is behind setting up a file share and the required permissions. Years
ago, I always thought I understood how this worked. However, after taking
some formal Windows Server training about 10 years ago, I discovered there
was more to it than I thought.
You probably already know how to get started when it comes to folder
sharing. You right click on the folder and go to properties. You can also
start by clicking on Share with. Whe... (more)
I’m always looking for a way to automate things and configuring the search
settings of a site collection is no exception. I’ve talked about the
Search Settings page before and how important it is for configuring
contextual search and the scope drop down on your master page. Wouldn’t
it be nice to be able to automate these changes instead of having to manually
set it on every site collection?
To configure these settings, we first must understand where they are. It
turns out that they can be found in the AllProperties collection of the root
SPWeb object in a site collection. O... (more)
Sometimes when you try to run a SharePoint 2010 Management Shell
(PowerShell), you might encounter the error below.
The local farm is not accessible. Cmdlets with FeatureDependencyId are not
registered.
Although, the answer is not obvious given the error message, the answer is
quite simple. You tried to run PowerShell with a user account that is not
an administrator in SharePoint. In this case, I had ran it with my personal
account which is not an admin and does not have access to the underlying
SharePoint databases. Hopefully, you used a “setup” account when you
created Sh... (more)