Sharepoint 2013 compatibility?

Jul 9, 2013 at 4:41 PM
Edited Jul 9, 2013 at 4:42 PM
Can you please make this solution compatible with Sharepoint 2013 lists too?

I tried to deploy this to my 2013 farm and my CA broke :( I then canceled deployment and deleted solution and it came back.

This sounds like a great solution and would be very useful on 2013 too.
Jul 10, 2013 at 5:50 AM
I don't have SharePoint 2013 VM available right now. But I will do it as soon as I get one.
Jul 10, 2013 at 12:28 PM
I have been able to deploy it to my 2013 farm using the following commands:

Add-SPSolution C:..\NY.ExportVersionHistory.wsp
Install-SPSolution -Identity NY.ExportVersionHistory.wsp -CompatibilityLevel 15 -GACDeployment
Enable-SPFeature -Identity NY.ExportVersionHistory_NY.ExportVersionHistory.Feature -confirm:$false -url http://....

I can see the button but the image isn't being pulled through and the control seems disabled even when I select some list items
Jul 10, 2013 at 2:30 PM
I got it to work after following steps on here:

I now get the icon but when i click it, it tries to take me .../_layouts/15/....

The only issue I now have is in file ExportVersionHistory.js on this line:
var pageUrl = SP.Utilities.Utility.getLayoutsPageUrl('/NY.ExportVersionHistory/ExportVersionHistory.aspx?ID=' + itemIds + '&List=' + listId);

It builds this URL as:

But the export is only visible from:

I then changed the above line to:
var pageUrl = '../../_layouts/NY.ExportVersionHistory/ExportVersionHistory.aspx?ID=' + itemIds + '&List=' + listId;

And all is working as expected.
Jul 10, 2013 at 3:38 PM
Great to hear that!