Tool Description

The SharePoint 2010 In Place Records Viewer tool makes it easy for users to view all In-Place Records and Holds declared across your site collection.

image_thumb[2]

image_thumb[5]

In Place Records Management is a new feature in SharePoint 2010 where by instead of moving a document to a specific SharePoint 2010 Records Center in order to declare it a record, a document can be declared and handled as a record within site it was created in. After having declared the document as a record, the document can now have policies and restrictions different from when it was just a document in the site. Read more about it on my blog.

The tool that I have written basically gathers an inventory of all In Place Declared Records and Holds in your SharePoint site collection.

It's activated by a hidden site collection feature and uses a timer job to gather all the declared records within your site collection within a root list. Note that this is not limited to documents but also works with list items as well.

As an added bonus, I also store any Holds across your Site Collection here as well. Read more about holds on my blog.

 

Summary

 

The latest release and solution installer files can be downloaded in the downloads section here:

http://sp2010inplacerecords.codeplex.com/releases

The source code and deployment files have been uploaded to the CodePlex source code and downloads section.

Please log any issues on CodePlex and please provide feedback there as well. I welcome any feedback for improvements. Also, if you would like to contribute to this CodePlex project, let me know.

Please note that you should use this at your own risk, as it does use a site level SPSiteDataQuery across all the site collections that have the feature enabled and as always note my “works on my machine” disclaimer.

Note that the feature is installed as a hidden, site collection level, global feature, so you won’t be able to browse to the site actions –> site settings –> site collection features and activate/deactivate it there, instead you will have to run the Solution Installer tool that I have included in the release or activate/deactivate it using PowerShell on the site collection:

Enable-SPFeature SP2010InPlaceRecordsViewer_InPlaceRecordsViewer -Url http://server:port

It was purposely created as hidden to avoid any RemoteAdministratorAccessDenied errors which is a new security feature in SharePoint 2010 (http://support.microsoft.com/kb/2564009).

You can also choose to run the Solution Installer tool that I have included in the release package.

The installation and configuration instructions can be found on my blog at: http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=65

 

Technical Notes (important -  please read):

 

Upon installation of the solution package to a site collection and feature activation, the solution performs the following:

  1. Creates a new list definition for the In Place Records Viewer list with the fields I wanted to store (Record File Name, Title, Declared Date, Size, etc.…)
  2. Creates a hidden instance of the above list definition at the root of the site collection (i.e. http://myserver/Lists/InPlaceRecords), Note: if the list exists already, it will be deleted and re-created
  3. This root level “In Place Records” SharePoint custom list where I store the inventory of all the declared records and holds across the site collection
  4. Creates a Site Settings Custom Action Group (In Place Records) and a Custom Action (In Place Declared Records Viewer) that links to the hidden list (i.e. http://myserver/Lists/InPlaceRecords)
  5. Creates a Timer Job that executes daily between 1AM & 3AM (Upon initial Feature Activation, it will also create a Run Once job that runs 3 minutes from the time the feature is activated)
  6. The Timer Job will first check to see if the feature is activated on the site collection and if it is activated, it will delete and create the InPlaceRecords list
  7. The Timer Job will then run a SPSiteDataQuery for every type of list you have on your site collection and check to see if there are any declared records and holds in your site collection
  8. The declared records and holds are then stored with specific meta-data on the InPlaceRecords list
  9. The InPlaceRecords list and site settings links should only be accessible and visible to site collection administrators (this is purposely done)

Last edited Jun 27, 2012 at 5:06 AM by nkhamis, version 7