Welcome!

Web 2.0 Authors: Roger Strukhoff

Related Topics: .NET, XML, Silverlight, Web 2.0, CRM

.NET: Article

Tool for Reverse-Engineering SharePoint 2007 / 2010 / 2013

Into HTML, Text, and DGML Sitemaps

I have upgraded the tool I created for reverse engineering SharePoint 2007 and 2010 into HTML, Text, and DGML Sitemaps to work with SharePoint 2013. The tool is now versioned at 1.5.  You have to copy the appropriate folder instead of just the file (Version 1.0 was only one file) because the tool is dependent on the WPF Toolkit. The folder includes the WPF Toolkit DLL.

There are no new features with this version.  It is just an upgrade to work with SharePoint 2013.

Current features include generating DGML diagrams which allow Root Sites to be put into groups, reports include information on Services running on the Server and the Farm, Database Sizes, user and group account information, and application pool information.

You the option to list the users on the sites, and flag sites that have not been updated for a while to show in RED. The user's emails are listed as well as their administration status.

The DGML tool that creates diagrams for Visual Studio 2010 now ties all the site collects to the web application at the top level, or gives you the option of displaying the top level sites as groups. Sites older than the day selected will be shown in RED. All the site nodes in the DGML are clickable.

The reason for the tool is that I needed to reverse engineer a SharePoint 2007 Farm to prepare for an upgrade to 2010.

I initially used the stsadm tool and PowerShell commands, but they were arduous to use. I looked around for open source options but could not find one. So I built this one. The SharePoint Diagram Tool reverse engineers SharePoint 2007, 2010, and 2013 SharePoint sites into HTML, text, and DGML for displaying in a diagram.

Just copy the appropriate folders to the server and run it as administrator.

You need admin rights on the box and to the content databases. If you generate files, they will be in the same folder as the exe. You also have the option of just copying the results out of the results textbox.

Note- These are not ASP.NET Site Maps. These are for analysis not navigation.

You can turn on the Report Errors to record any exceptions that occur. This can be helpful in troubleshooting permissions. Below are some screen shots:

Feature Panel

Click here for a larger image.

DGML No Groups

Click here for a larger image.


DGML with Top Sites in Groups

Click here for a larger image.


HTML Output

Click here for a larger image.


Text Output

Click here for a larger image.


I have uploaded the tools here.

More Stories By Tad Anderson

Tad Anderson has been doing Software Architecture for 18 years and Enterprise Architecture for the past few.