SharePoint Framework On-Premise Deploy via Gulp

SharePoint 2016 Server has support for SharePoint Framework, however there are some features missing that are present in SharePoint Online.

When first learning SharePoint Framework (SPFx), the tutorials provided by Microsoft are geared towards using SPFx in SharePoint Online.  A lot of the knowledge and concepts transfer to SharePoint 2016 Server, however I found a key feature missing: Asset deployment.

SPFx solutions expect you to host your assets (html, javascript, css) in some location that is accessible from your SharePoint site.  In SharePoint Online, the deployment gulp task that comes packaged with SPFx can (and by default, does) deploy your assets to the SharePoint Online App Catalog site.  With SharePoint 2016 Server, asset deployment is your responsibility.  I did not like this at all – I wanted a simple, configurable script/task to run that would deploy my assets where I wanted them to go.

First the setup.  Continue reading “SharePoint Framework On-Premise Deploy via Gulp”

Javascript Copy to Clipboard for Excel

I recently had a requirement to “export” data shown in a table on a web page to an Excel file.  In a normal situation I’d do something server-side to generate an Excel file with the necessary data, but unfortunately this situation was not a normal. The project I was working on did not have a server-side component – it was completely client-side code – so I couldn’t just create an Excel file.  The solution I came up with was to provide a way for the users to copy the required data to their clipboard and they could then paste it into an Excel document. Continue reading “Javascript Copy to Clipboard for Excel”

Xamarin vs. PhoneGap

I recently had the opportunity to write a Xamarin app for the first time.  It wasn’t Mike Berrymananything complicated – basically a CRUD application that would list items for the user with the option to add, edit and delete – but it afforded me a chance to compare and contrast with the way I’ve been writing mobile apps for the past few years. Continue reading “Xamarin vs. PhoneGap”