SkyDrive Pro lets you sync SharePoint libraries offline.
I wanted a way to give users a single click button to sync a particular library.
You can do this via an old Groove ActiveX control, but that's horrible and I couldn't make it work anyway.
You can also do this via a special URI, but the format is a bit special and not documented anywhere.
For this document library:
This is the URI to invoke SkyDrive Pro:
Just put that in a normal anchor tag:
<a href="grvopen://https_58_47_47sp_46mycompany_46com_47sites_47foo_47bar/00000000_450000_450000_450000_45000000000000/101?OPENLIST">Take this offline with you</a>
The format is:
Those three components use a (custom?) encoding. The algorithm is in the attached C# file.
The URI is that of the document library you want to sync.
I'm guessing that the GUID is meant to be to library ID, but it doesn’t seem to care as long as you supply enough blank digits. (And encode it too.)
Type is the value from SPListTemplateType. For example, 101 is
On a machine with SkyDrive Pro installed, invoking one of these
grvopen-based links will launch something like
C:\PROGRA~1\MICROS~1\Office15\GROOVE.EXE /TakeOffline: "%1", based on the value of