JavaScript

JavaScript multi-line string hack - a nifty JavaScript and CSS trick

JavaScript is the new black and each and everyone has re-discovered JavaScript and it’s inevitable not to have JavaScript as one of your tools. Especially if you’re working with SharePoint, Office or Office 365 Apps or Add-Ins. In this short post I’m just documenting and sharing a small and nifty JavaScript hack that is very handy when you’re doing for instance JavaScript injection, one of the most popular customization patterns for Office 365 and SharePoint Online at the moment.

SharePoint

SharePoint Online: App Only policy PowerShell tasks with ACS

Here’s a little nugget that I’ve planned to blog about for some time, that I needed today for a small task. I needed to do a background job to SharePoint Online that at a scheduled interval downloads list data, process them and optionally updates some data in my site. This can of course be done by creating an executable storing username and password combos, and with the help of the TokenHelper.

SharePoint 2013

SharePoint 2013: Using the App Only policy and App Principals instead of username and password combos

Introduction One of the blog post I receive the most e-mails about is the How to do active authentication to Office 365 and SharePoint Online. Some of the feedback I get is “thank you” etc. and some of them are people that are modifying it for all kind of things, especially when trying to do “background jobs” or integrations using user credentials. And this is what this post is all about.

SharePoint 2013

SharePoint 2013 with SAML Claims and Provider Hosted Apps

Introduction The other week I posted an article about how to use SharePoint Hosted Apps when using SAML Claims, I did not expect that amount of feedback I had on that blog post, in e-mail, comments, tweets etc. Some of that feedback was how do you do it with Provider Hosted apps. Well you’re about to find out. It took me a while to get it properly done and there are some things that you should be aware of.

SharePoint 2013

SharePoint 2013 with SAML Claims and SharePoint Hosted Apps

Introduction By now each and every SharePoint developer out there should spend their time building SharePoint Apps instead of the old trusted friend of ours; Full Trust Code. Ok, Apps doesn’t solve the equivalent of world hunger in SharePoint at the moment, but that’s a discussion for another time. I assume you get my point. We have two types of apps (we used to have three little monkeys jumping in the bed, but one just bumped his head); Provider hosted apps and SharePoint hosted apps.