Custom Provisioning of settings, Apps and App Parts during Site Creation

18 December, 2014

Background The App framework has a few things that need to be implemented before we can abandon the Web Part model. In my latest project, we ran into the issue of web template provisioning and Apps. We can do this using Web Parts and standard farm features but we are not coding to that pattern – we are using a “cloud ready” App model.


SharePoint dialog for Long Running Operations in CSOM

17 December, 2014

Scenario: You need to display a modal dialog over the entire page while a CSOM script is executing. You want to stop the user from performing other actions and give them a notification. Normally, you would use a Long Running Operation to achieve this but this will not work in CSOM or JavaScript Solution Here is my solution in action. Here, we are automating the addition of apps and app parts during site provisioning and need the user to stay put while it completes.


Gamifying Chores and Homework

11 November, 2014

This is definitely off-topic but I have had many questions on this. My son has a points-scheme which allows him to save up pocket money. It is the only thing that has consistently motivated him to do chores, homework and go to bed on time ever. And we obviously use technology and “business intelligence” for this. I run the system in a simple Apple Numbers spreadsheet that works, via iCloud, on all devices and can now also be shared using iCloud Drive.


Improving usability when working with “App Parts” and “Web Parts” for SharePoint publishers

29 October, 2014

The app model adds new way of adding third-party and custom functionality in apps. And now, everything that is not there by standard is called an app. The Yammer feed is an app. A contact list is an app. You can also add App Parts and Web Parts in page edit mode. And you the publisher need to keep track on what’s what. Here are the menu options when you want to insert an App Part. And here are the menu options when you insert a Web Part.


Workaround: Sorting App Part Properties in SharePoint 2013

24 October, 2014

The app part has a number of limitations compared to web parts, such as inability to package a default chrome type and, for some reason, sorting of app part properties. This *might* seem like a small deal but when you have a logical flow for editors then this becomes an issue. Solution 1: Using regions Regions can be used to bring order to the app part properties. For me, this is only half the solution but it still works. The region format results in a semi-ordered property list.