Blog

A beginner’s guide to build a new SPA with ES6, SCSS, React, Webpack and HMR.

Recently, I have been working on a project which used ReactJS to build several SPAs (Single Page Applications). I’ll openly admit it was a pain for me to get working even a basic project or starter template. The reason is because there are lots of new concepts, frameworks and technologies. I decided to write down Read More →

Enable SQL Azure access from Azure WebJobs by adding firewall rules using PowerShell

image.png

Hi, When we are developing custom Azure Web Apps or WebJobs, likely we will need access to Azure SQL database. Depends on the needs you will use Entity Framework, or direct Queries using Stored Procedures, but this is not the topic of this post. The topic today is how to allow our Azure WebJob to Read More →

How to Unzip Azure Blobs programmatically using Memory Streams in Azure WebJOBs

image.png

Hi, Recently I had to extract files from a .zip file stored on Azure Blob Storage in Azure WebJob process.   This is what I did from scratch: 1. Create WebJob project: https://azure.microsoft.com/en-gb/documentation/articles/websites-dotnet-webjobs-sdk/ 2. Create Non-continuous Azure WebJob: https://github.com/Azure/azure-webjobs-sdk-samples/blob/master/BasicSamples/TableOperations/Program.cs static void Main(){    var host = new JobHost();    host.Call(typeof(Functions).GetMethod(“MyMethod”));} public class Functions{       [NoAutomaticTrigger]        public static void Read More →

How to provide SharePointContext to a Web API Action (ApiController) in a Provider-hosted SharePoint ADd-In

clip_image001.png

Hi, Recently I have been played with Azure Web Apps, and its integration with SharePoint. In this post we will see how to provide Authentication to Web API REST actions using SharePointContext, which means that we only will be able to invoke our REST actions if we are behind the context of SharePoint Provider-hosted App. Read More →

Enable Log and Trace information for PnP Core Provisioning when using Console Application

image.png

Hi, Looking into PnP Provisioning I noticed there isn’t configuration to set up proper log and trace information (version v2.4.1605). If you haven’t chance to look into PnP Core solution, and you want to know how to start, take a look here: Office 365 PnP Provisioning starting point. Anyway, if you’d like to add some Read More →

Office 365. PnP Provisioning – Hide default Title column and Enable menu for Other Custom Text Column

image.png

Hi, Playing with PnP Provisioning is funny as you have different set of features and requirements you can achieve when provisioning sites. Last month I found sort of bug at version v2.4.1605 of PnP Core: Can not Convert Object when provisioning pnp:file Display Template. Working with the same version I had a requirement to provision Read More →

How to ApplyTheme using Gulp Task in SharePoint Online Projects

Hi, This blog post will show you how to create a Gulp task in Visual Studio 2015 intended to Apply a SharePoint theme with custom spcolor file. Why do we need a Gulp task to Apply a SharePoint theme? For example, if we are playing with our CSS files, changing some properties, classes, etc. and Read More →

Office 365. Cannot Convert OBject Problem when provisioning pnp:File Display Template

image.png

When we are using PnP Provisioning Core Engine to deploy SharePoint artefacts, we probably need to deploy Display Templates. My colleague Kevin posted this blog post about this: http://sharepointcookies.com/2015/07/working-with-display-templates-with-the-new-pnp-provisioning-core-engine/. But, some changes has been done in the PnP Provisioning Code and we need to adjust a little bit the code. I am using PnP Version Read More →

How to list all Site Custom Actions using CSOM and PowerShell in Office 365

Hi, Today a short one :P, I’d like to share how to query and list all Custom Action for a SharePoint Online Site Collection using CSOM:   HTH @jquintozamora

Compile, optimize and watch our LESS / CSS files with Gulp tasks using Visual Studio 2015 in our SharePoint Online solutions

image.png

When we are working on SharePoint (or Office 365) projects, eventually you need to integrate custom CSS, HTML, JavaScript within SharePoint components. I remember my first projects with SharePoint 2007 where we coded server components with C# or VB and it were really hard to integrate custom CSS and JavaScript in our solutions. But since Read More →