wiliammbr's blog

Some thoughts on SharePoint and other random stuff

Sync SharePoint files with Visual Studio Code

The last three months I’ve been working less with SharePoint and more with Angular 4/Node JS projects. This change forced me to use less Visual Studio and dive deep into Visual Studio Code in almost every task.

While working with VSCode, I’ve been testing some Gulp tasks like SPSave and SPSync for automatizing file changes to SharePoint, just for fun. Because I just can’t accept SharePoint Designer anymore, my patience with it ran out.
Also the Windows feature to map a network drive to a SharePoint library isn’t good too, at least for me.
So basically the gulp tasks did the trick, but they aren’t that easy to be understood for some more “traditional” programmers in my company, which would end with few adopters here.

So while searching for SharePoint extensions just for curiosity, I found the SPGO Extension and it really impressed me!

Basically it’s an extension that with some basic setup you can start syncing files from your computer with SharePoint libraries.

SPGo Extension

SPGo Extension

Enabling the extension

I was able to sync, check-out and publish files from my Editor without needing to do these tasks manually. Just had to install the extension, open a folder and add a JSON file named SPGO.json like that:

Using the extension

After creating the SPGO.json, you can initialize the repository and voila!

Settings for the extension

Settings for the extension

After all that time syncing the files and folders, you can edit the them and use the contextual menu to publish your changes.

Contextual menu available with the extension

Contextual menu available with the extension

The extension is in its early stages, but already works really well with SharePoint Online. I faced some issues with On Premises authentication, but I believe that in the future they will be tracked and solved.
I must admit that it has a lot of potential and will help me in my work! What are your thoughts about the extension? Let me know in the comment section below!

References:
SPGO Extension

4 Comments

  1. Nice article, I will be checking out the VS Code extension. I am also a SharePoint Developer.

  2. Good post. I learn something totally new and challenging on sites
    I stumbleupon everyday. It’s always exciting to read content from
    other authors and use a little something from other web sites.

Leave a Reply

Your email address will not be published.

*

© 2018 wiliammbr's blog

Theme by Anders NorenUp ↑