With MOSS 2007, I often got asked what order do I install these solution
packages in. Oftentimes, it was critical that they get installed in a
particular order. With features, we have had the ability to set
dependencies, but we really didn’t have anything like that for solution
packages. Well, I haven’t heard people talking about this new feature
yet, but we can in fact set solution dependencies in the manifest.xml file.
The way it works is that it checks to see if a dependent solution has already
been deployed on your farm (or site collection for sandbox solutions).
However, it won’t chain deploy child solutions for you like you can do with
hidden dependent features. It does this check when you attempt to deploy
the feature (not when you add it). It also won’t remove a parent solution
should you remove any of its dependent child solutions. Solution
One of the things that drove me absolutely nuts about Enterprise Search in
MOSS 2007 was that there was no built-in way to export your managed property
mappings and install them on a new server. A third party utility on
CodePlex helped, but it was still less than ideal. With SharePoint 2010,
well you still really can’t export your property mappings to a file, but
you do get a lot of flexibility using PowerShell. By taking a proactive
approach, we can use PowerShell instead of the UI to create our property
mappings. We can then use these same scripts later when its time to move... (more)
SharePoint Archiving Journal
When I get an error, I like to blog about it. Especially when the error
gives you no useful information whatsoever. Now, you can get the above
error in a variety of ways, but the one I am going to discuss today is when
using SPQuery. I inherited some code that had some CAML queries in it and I
could not figure out what the cause was at first. When I called
SPList.GetItems(SPQuery), I would receive something like the following.
Microsoft.SharePoint.SPException was unhandled by user code
Message="Cannot complete this action.\n\nPlease try again."
One thing that is getting a lot of attention in SharePoint 2010 is the use of
PowerShell. It’s too cool and you really have a lot of power (no pun
intended) to automate just about anything in SharePoint. In fact Kyle Kelin
(@spkyle) is speaking this weekend about it at SharePoint Saturday Houston
(#spshou). The Microsoft.SharePoint.PowerShell snapin comes with over 500
commands, but you might want to create your own. Today’s post will show
you how to get started. There are a lot of great posts out there on how to
build a regular PowerShell cmdlet, but I wanted to build one tha... (more)
A while back, Kevin Williams pointed out to me that certain web sites could
be searched in Google Chrome using the syntax query in the address
bar. For example, once I have been to youtube.com, I can later type in
youtube to initiate a search query.
Pressing tab, give you a spot to enter your query or you can just type a
space and put in your keyword.
As someone that does a lot of work with SharePoint Enterprise Search, this
got me thinking. I want my SharePoint site to show up in my browser too.
I did some research and discovered this is part of OpenSearch and that I c... (more)