How to Synchronize Folders Like My Documents to SkyDrive

Few weeks ago I run in a case where I had to configure folder synchronization with SkyDrive. Requirements and starting point for the case was:

  • Windows version Windows 7 Home Premium
  • Customer wanted to have her files locally inside My Documents library and have them in SkyDrive also.
  • She wanted to have everything synchronized so that she could made changes to files with Office Web Apps also.
  • Files and folders have to be created, deleted and synchronized automatically no mater is the action done on users computer or SkyDrive.

As you probably know there is no OOTB solution for this. Of course there is Windows Live Mesh. But files synced with Mesh will be saved on a special folder in SkyDrive where you are not able to view and edit them with browser and the maximum storage space is 5 GB. This is by the way one thing that I don’t understand why is it so.

When I was thinking an good solution and made some search I found a lot questions but not very good solutions. At least not from one blog or site.

  • Quite many solutions just told that you can map the SkyDrive folder but that is only one part of a solution.
  • Other part is that you have to be able to make the synchronization. In Windows 7 Professional (and above) there is an feature called Offline Files but in Home Premium you don’t have it. I haven’t try but maybe you can use that but I found an good free 3rd party solution for this.

Just as a note there are few interesting CodePlex open source project (link down below) ongoing about this matter.

But let’s get started.

Mapping the My Documents Folder

As a source I used this article from Jessica Cam Wong (@jecw) How to Upload & Sync Files to SkyDrive from Windows Explorer. I won’t go through all the things from that solution. Only those that are relevant.

Retrieve your WebDAV addresses from SkyDrive

  1. Open Office 2010 (Word or Excel)
  2. Create an new document and start to save it. From top menu File > Save & Send > Save to Web.
  3. Login to SkyDrive if necessary.
  4. Select a folder that you want to start using as sync folder. Then press Save As.
  1. I think it’s more practical to use folder inside SkyDrive for this issue.image
  • When the Save As dialog opens, click on the address bar to copy the address.SNAGHTML9f4c536
  • Now when you have the address you can make normal server mapping to that folder. So, open windows explorer and select Map Network drive.
  • Select free drive letter and paste the copied URL to the Folder text field.image
  • Now you have your folders ready to be synchronized.

Configure the Synchronize Service

After many test, try and fail I made an decision to use 3rd party software called GoodSync. There is some other programs for sure that can make this same thing but GoodSync was a) free tool b) easy to use c) was working in all the necessary situation.

  1. Download and install GoodSync (link above).
  2. After installation you have to create one synchronize job for each main folder you want to sync. SNAGHTMLa1c27ef
  3. Next you have to select the folder from your computer that you want to use as file saving place (so called left folder) and then choose the mapped driver made above as right folder.SNAGHTMLa5c790c
  4. It’s a good practice to make one analyze and synchronization manually. Especially if you already have something on the folder in computer. This way you can see that everything is working correctly. So press Analyze button.
  5. When the analyze is finished press Sync to start the synchronization process.
  6. Next you have to configure GoodSync to be started when Windows starts and give the necessary sync options. There are a lot of settings on the program but here are the most basic ones to get everything working.
  1. From the upper menu select Tools > Program Options. From General settings make sure that “Start GoodSync when Windows starts” is enabled and press OK.SNAGHTMLb45afba
  2. Then press the Auto button (button with clock image on it).
  3. From Auto settings you can adjust synchronizing settings as you want to. On this case I preferred to have the following settings:
    • On GoodSync start, delay sec = 0, action=Sync
    • On Folders Connect, action=Sync
    • On File Change, action=Sync
    • On Logoff, action=Sync
    • Every 0 Hours 5 Min, action=Sync
    • Do not Sync if changed files more than 100% (this means that sync always)
    • Automatically resolve conflicts = Newer File Wins
    • Enable Auto Clear the tree after Sync or Analyze with no changesSNAGHTMLba1ac33
  • Press OK and you are done!

Final Words

As I mentioned earlier this solutions sustains on the use of 3rd software. Maybe someone don’t like that idea but in this case getting things done was most important. There is actually an very interesting SkyDrive .Net API Client and SkyDrive Synchronizer project on CodePlex. You could use those also but for example SkyDrive Synchronizer is command line only and is still one way synchronization only. But still it’s worth of stay tuned of these open source tools.

Blog Opening

Jaahas, muutaman vuoden tauon jälkeen polkastaan taas blogi käyntiin. Muutetaan samalla hieman kirjoitusten tyyppiä. Koitan jatkossa keskittyä enemmän IT –alan tapahtumiin, tietoyhteiskunnan kuulumisiin, sekä jakaa tietämystäni ammatillisesta näkökulmasta.

Työskentelen keskisuuressa IT –talossa sovellusarkkitehtina pääasiassa Microsoftin työvälineillä ja SharePoint alustalla. Päätoimena minulla on sovellusten suunnittelu ja jonkin verran myös kehitystä. Toimin tiivisti asiakasrajapinnassa, joten koetan tuoda sovelluskehitykseen kenties näkökulmaan tältä tasolta. Päivittäinen huolenaiheeni on se, miten kuvata, kertoa ja ohjata sovelluskehitystä asiakkaan haluamaan lopputulokseen. Eli jos nyt satun törmäämään johonkin mielenkiintoiseen asiaan tai ratkaisuun, niin pyrin siitä kirjoittaa.

Sitten hieman blogin rakenteesta. Päätin nyt kokeilla asioiden tarkempaa kategorisointia, sekä eri kielillä kirjoittamista. Yleiset esimerkiksi kotimaan tietoyhteiskuntaan liittyvät kirjoitukset tulen kirjoittamaan suomeksi. Ammatilliset ja enemmän tekniset kirjoitukset teen englanniksi, jotta ne olisivat kaikkien saatavilla. En tiedä onko tämä lopulta toimiva ratkaisu, mutta ainakaan aluksi en halua lähteä kahden blogin järjestelmään ihan aikataulusyistä.

And in English,

This is now my first ever blog post where I’m using English. Few years ago I was blogging quite actively but then I just run out of energy. Let’s now try again with a little bit new approach.

I’m working as Software Architect in medium size IT company. Mainly I’m working with Microsoft’s products like C#, .Net and especially SharePoint. On my daily work I’m negotiating with our customers about system requirements and needs and trying to put those in a form that our developers can use during the software development.

On this blog I will use also English when I’m writing something work or technical related issues. So, every time I find something interesting on the fields of SharePoint, Microsoft development or general things from the IT field I will try to write an post. I all ready have some things and tips in my mind so stay tuned.

MatchPoint Framework to SharePoint

As you may have noticed I have every now and then mentioned MatchPoint and SharePoint. Company where I’m working is the first official MatchPoint partner in Finland. I’m also a certified developer of the framework. But what actually is MatchPoint and why should you use it together with your SharePoint solution?

First of all MatchPoint is a framework solution that brings more flexibility and possibilities to solution developers and administrators. Framework is made by company called Colygon from Switzerland. It means that the framework internationality used and maintained. What I can say as developer is that the flexibility is create and the response time from the community ( and support team from Colygon is support is good.

One important thing to notice is that MatchPoint isn’t solution that offers for example readymade web parts or complete functionality. Offered tools are especially target to developers, heavy users and administrators. What the frameworks offers are things like extended metadata and tag management, more flexible template management, easier and faster web part development components and true reusable framework for web parts.

On the images below you can find all the reusable web parts frames included to MatchPoint framework.


On this other image you can find all the components from the service layer and API level.


Why to Use?

If I should give you 7 reasons why you should use MatchPoint framework they would be:

  1. You are able to extend you solution with features not available OOTB.
  2. Development time is much lower than usually.
  3. You are able to maintain your custom solution from one place.
  4. You can do more things straight from UI than with OOTB SharePoint = no coding.
  5. Even your or your customers power users can easily learn and maintain the system.
  6. The framework is internationally maintained and developed = lower risk in continuation, support and upgrades.
  7. There is active developer community and very low organization from framework developers and customer support to partners and developers.

Of course you have to ask why not to use it? One thing is that using a framework means that you are doing some kind of customization. Some one could thing that is bad but almost in all SharePoint environments there is some customization done. When I have to change OOTB features I rather do it with controlled tools that has been proven earlier in other projects.

From my opinion the tag and provision framework are the best things that MatchPoint can offer. OOTB SharePoint term management is great but MatchPoint offers a lot more like. Tag inheritance and automatic tag creation. Inheritance means that I can tag some site (or library etc.) with tag like Finland and every item or document can then inherit this information from the site level.

Provision framework offers more flexible way to create templates right from the browser. Users can for example create a team site, add new lists and web parts and then save this site as a template. Others can then use this template to create new team sites. Ok this can also be done with OOTB SharePoint but what if you have to add new web part to default page and add n column to the task list? Normally this would mean quite a lot time or even work especially if you are using templates made with Visual Studio. But with MatchPoint you will have one XML file that holds all the necessary elements and settings of the template and you can modify that file with easy to use editor.

Short Example

Here you can find a short video of an example where I’m making a very simple web part that is listing links from link lists from multiple sites. I won’t go this through very deeply, at least not yet. But what this video can show you are how fast and easy you can make web parts and nice functionality compared to traditional development.

The scenario here is that we have a site that has multiple sub sites. On each site there is and Announcement list called Announcements that has an extra column called Highlight. The request is that on the top level site all the announcements marked as Highlight will be shown on a web part.

More information about the framework can be found from the web site I will also cover these things more deeply on upcoming post. If you have some questions just send me and message or contact people from Colygon. They also have very nice webinars where you can see this MatchPoint in actions.

%d bloggers like this: