SharePoint Saturday New Jersey Wrap-up

Great first event for the crew in New Jersey.  Lots of attendees and a high level of interest at the event.  Thanks to everyone that attended the developer panel discussion and the my 10 Tips for Managing SharePoint Search sessions.  Below is the slide deck for the session.

Tags:
Posted in Events SharePoint by Mike Oryszak. No Comments

SPS Bermuda Wrap-up

I think everyone had a fantastic time at the inaugural SharePoint and .NET Saturday Bermuda event.  I’m honored to have been able to participate.  The hospitality on the island was fantastic, and while the event was small, there was good participation in the sessions.  I hope everyone got a lot out of the day.

I’ve uploaded my deck to slide share so it is available below.

 

I look forward to future events!

Tags: , ,
Posted in Events SharePoint by Mike Oryszak. No Comments

SharePoint Saturday Atlanta Wrap-up

SharePoint Saturday Atlanta was a great success again this year with a record turnout that included many eager participants. 

Thanks to all of the attendees that attended my sessions.  Here is the supporting content. 

Displaying Dynamic Content With Search

 

Developer’s Introduction to the Social APIs

Code Examples:

Tags: , ,
Posted in Events SharePoint by Mike Oryszak. No Comments

SPS Atlanta Sessions on Search and Social

I’m excited to announce that I have had two sessions selected for the SPS Atlanta event on Saturday June 8th.  The past few years the organizers have established this event as one of the premiere events in the south east.

The first session is an End User focused session titled Using Search for Dynamic Content.

This session is geared towards site owners and power users and will provide an overview of the search web parts available out of the box in SharePoint 2010 and 2013 and show how they can be used to display dynamic, search driven content on your sites.  We will also do an overview of the Keyword Query Language allowing you to leverage the features to display dynamic content on your sites.

 

The second session is a Developer focused session titled Introduction to SharePoint’s Social APIs

SharePoint 2010 and 2013 offers a rich set of social capabilities that are built into the platform.  Those capabilities are available to developers through a variety of APIs so that they can be extended or leveraged in your other customizations and applications.  This session will run through the various client, server, and REST APIs available to developers.

 

Hope to see a full house!

Tags: ,
Posted in Events SharePoint by Mike Oryszak. No Comments

SPSEvents NYC and Social API Presentation

I’m excited to announce that my session Introduction to SharePoint’s Social APIs has been selected for the SPS Events NYC event on Saturday July 27th.  This has been a fantastic event the past few years, and I’m sure this year will be no different. 

Here is the abstract for my session:

SharePoint 2010 and 2013 offers a rich set of social capabilities that are built into the platform.  Those capabilities are available to developers through a variety of APIs so that they can be extended or leveraged in your other customizations and applications.  This session will run through the various client, server, and REST APIs available to developers.

 

We will take a close look at the APIs themselves, work through a couple of common and not so common example of leveraging those APIs, and then talk about things like performance and best practices.

If you are in the area, stop by and say hello!

Tags: ,
Posted in Development Events SharePoint by Mike Oryszak. No Comments

Commentary on Purpose Based Licensing

Dan Holme recently had an interesting piece of commentary in the SharePoint Pro magazine titled It’s Time to Break Up the SharePoint Brand in which he advocated breaking the product into purpose based bundles instead of the behemoth platform it is now.  I agree with much of what Dan wrote, including his two main points that it is not a single purpose platform and operates more like a modern OS. 

As I consider the points though, and my own experience evangelizing the platform with customers large and small, I would say that there is already serious confusion about the licensing.  As Microsoft attempts to transform itself to a services based company, I would actually recommend a different sort of licensing move that is even more radical.  When buying server based applications like SharePoint, there should be no need to also individually license the pre-requisite dependency technologies; specifically Windows Server and SQL Server.  These are needed to run the system, so if a customer has a six server farm and busy six licenses of SharePoint Server, then they also require six licenses for Windows Server as well as at least one SQL Server license.  As the number of SharePoint licenses increase, so would the associated Windows and SQL licenses. 

While I think this move makes great sense for customers I am not holding my breadth that Microsoft will make this move any time soon.  I think the biggest reason is the confusion of how to then map revenue back to the other divisions such as the core server OS group, and the database group, but really there should be a set percentage that they can agree on.  I believe that this service or purpose based approach would simplify things quite a bit and should also apply to the other server applications like Exchange, Systems Center, etc.  Of course there will still be a need for stand alone Windows Servers for traditional server things like AD, DNS, Web Sites.

As the move to the cloud continues to evolve this may become more of a moot point for many, but it is unlikely that even half of customers will be running all of their applications primarily in the cloud in the next five years.

Tags: ,
Posted in Architecture SharePoint by Mike Oryszak. No Comments

Finding Duplicate Items and The Duplicates Keyword

I have had a few questions around de-duping files within a SharePoint environment recently so I set off to do some research to identify a good solution.  Based on past experiences I knew that SharePoint identifies duplicates while performing an index of the content so I expected this would be part of the solution.

Upon starting my journey, I found a couple of threads on various forums where the question has been asked in the past.  The first one was “Good De-Dup tools for SharePoint” which had a link to a blog post by Gary Lapointe that offered a PowerShell script that can list every library item in a farm.  At first glance this seemed to be neat, but not helpful here.

Next I found a blog post with another handy PowerShell script.  This blog post was title Finding Duplicate Documents in SharePoint using PowerShell.  I found this script interesting, albeit dangerous.  It will iterate through all of your site collections, sites, and libraries, hash each document and compare for duplicates.  It however only identifies duplicate documents within the same location.  The overhead of running this script is going to be pretty high, and it gets a little risky when you have larger content stores.  I would be worried about running this against an environment that has 100s of sites, or large numbers of documents.

Next I found an old MSDN thread named Find duplicate files which had two interesting answers.  The first was to query the database (very bad idea) and the second was a response by Paul Galvin that pointed to the duplicates keyword property, and a suggestion to execute a series of alpha wildcard searches with the duplicates keyword.  While I have used the duplicates keyword before I had never thought to use it in this context so I set out to give it a try.

As I mentioned at the beginning SharePoint Search does identify duplicates documents.   It does this by generating a hash of the document.  Unlike the option above where the PowerShell generates a hash, the search hash seems to separate out the meta-data so even items with unique locations, meta-data, and document names can still be identified as identical documents. 

When doing some tests though I quickly discovered that the duplicates property requires the full document URL.  This means that you would have to execute a recursive search.  First you would have to get a list of items to work with, and then you would then need to iterate through each of those items and execute the duplicates search with a query such as duplicates:”[full document url]”.

Conceptually there are two paths forward at this point.  The first is to try and obtain a list of all items from SharePoint Search.  Unfortunately you cannot get a full list of everything.  The best you can do is the lose title search that Paul had suggested.  Something like title:”a*” which would return all items with an a in the title.  You would then have to go through and do that for all letters and numbers.  One extra challenge is that you will be repeatedly processing the same items unless you are using FAST Query Language and have access to the starts-with operator and can do something like title:starts-with(“a”).  In addition, since we are only looking for documents, its an extremely good idea to also add in the isdocument:true to your query to ensure that only documents are returned.  Overall this is a very inefficient process.

An alternative would be to revisit and extend Gary’s original script to execute the duplicates search for each item.  The advantage here is that you would guarantee that you are only executing the duplicates search once for each item which would reduce the total processing and extra output information to be parsed.  The other change to Gary’s script would be to change what is written out to the log file since you would only write out the information for items that are identified as duplicates.