Hello,
I am trying to create an SSRS report that will return all SharePoint List Items that have had a particular field modified within a certain timeframe, and the before and after values. It seems like this would be simple but as many others appear to have found, it is anything but. I've read a number of online posts about similar requests, but I wanted to post this again since I am focusing on accessing the data via SSRS.
The configuration I have is: SharePoint 2010 Enterprise, SSRS Enterprise, InfoPath.
The request is pretty straightforward as above: I have version history turned on in a SharePoint list. I can report on the list via SSRS without issue, but can only access the latest version of the item.
The restrictions I have are:
- No SQL database level access
- No ability to install third party tools to the SharePoint Farm
- No ability to run any commands on the SharePoint servers
I know that I could create SharePoint workflows to copy existing values to "history" fields, but those aren't my preferred approach for various reasons I won't get into here. I'm looking for a way to report on the version data itself.
All that said, what I think might work well is to create an SSRS Report that can view all version history for specific fields across all list items. The report could be ran for a period of time--say the last 7 days. Then, I could use that report as an XML data source for another report to query the exact fields I want for the report.
I think I could get this to work if I could only find a way to access the SharePoint version history from SSRS, but I can't. I've tried working with the versions.asmx file and other mechanisms and just can't figure this out. So, any ideas or suggestions, or knowledge of how to get access to this info from SSRS?