WPF – Alive and Kicking

Our team has recently completed a mini Stock Control system for a client in Sydney. It covers the main functions of hiring and returning stock, as well as Inventory stock-takes, reporting and administration. We got to play with some hardware which doesn’t happen very often, in the form of Barcode scanners and a very cool ...

Remote Authentication to SharePoint Online using Javascript 1

When authenticating to SharePoint Online 2013 using .NET or PowerShell, you have access to the Microsoft.SharePoint.Client.SharePointOnlineCredentials  class. This class makes it very easy to access SharePoint Online using only a few lines of code, for example : using (ClientContext ctx = new ClientContext("https://YOURDOMAIN.sharepoint.com/")) { var pwd = new SecureString(); foreach (char c in "YOURPASSWORD".ToCharArray()) { ...

Nintex – Error connecting to the workflow manager: Operation is not valid due to the current state of the object

Nintex - Error connecting to the workflow manager: Operation is not valid due to the current state of the object
Nintex Workflow for Office 365 Installing Nintex Workflow as an ‘app’ in SharePoint Online is a very easy procedure. Like other apps available on the SharePoint marketplace, you simply download it and go through the Add / Trust steps to install it to a particular sub-site. The problem I came across, however, was an error ...

Migrating InfoPath Forms data to SQL Server

InfoPath forms are really “data islands”, where information is stored in XML format. In order to migrate this data from InfoPath to a relational table structure, I relied on SQL Server’s XQuery language. Check out Microsoft’s XQuery Language Reference (SQL Server) First thing, how to get the data out of InfoPath ? A quick extract ...

LESS CSS – SharePoint CSS made easier

LESS CSS - SharePoint CSS made easier
Have you ever sifted through a CSS file, searching / replacing hex colour codes? It’s not so much an issue if you’re simply replacing one colour, but what if there are gradients involved, or some classes represent variations in colour? For example in the below, .inactive is less saturated than .active : .active { background-color: ...

Creating publishing-based site templates using Web Templates 2

For Publishing Sites, “Save Site as Template” is missing from Site Actions. There are ways to bypass this, however these could leave your site potentially unsupported by Microsoft. A colleague suggested Web Templating, a great in-depth article “SharePoint 2010 and web templates” gives you all the detail if you are new to this. Our requirement ...

Adding jQuery to the QuickLaunch menu

Adding jQuery to the QuickLaunch menu
SharePoint’s Left Navigation is very flexible, in terms of modifying both its look and feel, and its source of navigation elements. There is a heap of documentation out there on how to customise both, todays short post is my attempt to show how the SharePoint:AspMenu control (used for example, in the Quick Launch Left nav) ...

MVC to WCF Forms Based Authentication

MVC to WCF Forms Based Authentication
How to pass a Forms Auth ticket from your web tier to your service tier? A client has a (perfectly reasonable) requirement to pass credentials from their Web App to their WCF service. This would eliminate the need to see this sort of thing littered everywhere : var svc = new myService.ServiceClient(); svc.ClientCredentials.UserName.UserName = HttpContext.User.Identity.Name; ...

SharePoint / iOS apps – Part 1

If you’ve ever been curious about how to surface your SharePoint data in an iPhone / iPad app, this post is one path down that track. Let’s assume you’re like me, a Dev with experience in SharePoint, but little in the way of iOS knowledge. You may have heard of how the Apple folk work ...

Dude, where’s my VM ?!

Here at work were have a mix of both VMware and Hyper-V guests hosted across a bunch of servers, all of varying capacity. It’s a pretty fluid structure (i.e. a mess) where developers are constantly shuffling SharePoint VMs around, fitting onto whatever is available. There’s a term for it, “Virtual Server Sprawl”. So many times ...