You’re developing a SharePoint provider hosted app and you need to do a form post to a controller action, and in that controller action you need to get a SharePoint context using the SharePointContextProvider class. When you do this, you may find that an exception is thrown by this class because there aren’t any of … Continue reading Add SharePoint Context Parameters to your MVC Provider Hosted App Form POST
Updating your Azure WebJob using the Kudu Console
So you’ve already published your shiny Webjob to Azure either using Visual Studio 2013 publishing awesome-ness or ‘manually’ using the Azure management portal, and now you want to update it. There’s a super-easy way and thats using the Kudu console. Login to the Kudu console for your web app using the url shown below; https://{webapp name}-scm.azurewebsites.net … Continue reading Updating your Azure WebJob using the Kudu Console
Enable IFraming in a SharePoint Provider Hosted MVC App
In order to show your shiny remote provider hosted app in a dialog or IFrame, the calling domain of the page with the IFrame, must match the domain of the target page (the page being IFramed). Why might you do this? well there a quite a few patterns in the OfficeDev PnP which use remote provider hosted … Continue reading Enable IFraming in a SharePoint Provider Hosted MVC App
Gotcha using Office 365 / SharePoint REST API and ODATA Minimal Metadata
You’ve probably heard that in Office 365 / SharePoint Online, the REST API service now includes support for JSON light responses, meaning that you can vary the style of the ODATA response. Reading that post you’ll notice that the ‘shape’ of the response is also different when using the minimalmetadata or nometadata types; For example, when using … Continue reading Gotcha using Office 365 / SharePoint REST API and ODATA Minimal Metadata