SharePoint Client People Picker Control Helper


The SharePoint people picker client-side control is a bit of an opaque beast, many times when you’re doing a client-side customisation you might want to Add or Remove person or group entities or otherwise examine the list of entities the user has selected. The good news is that there is an API of sorts found in clientpeoplepicker.js, as … Continue reading SharePoint Client People Picker Control Helper

SharePoint Search and the Inconvenient MetadataExtractorTitle Crawled Property


I recently came across a problem in SharePoint Search which had me flumuxed for a while, looking at the search results below is displayed the results of 2 list items, 1 with a PowerPoint attachment and 1 without any attachment. The 1 with an attachment is showing an extracted document property as the Title managed property value … Continue reading SharePoint Search and the Inconvenient MetadataExtractorTitle Crawled Property

Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM


A few times over the last year or so I’ve come across an error while trying to connect to SharePoint Online using CSOM; Exception calling “ExecuteQuery” with “0” argument(s): “For security reasons DTD is prohibited in this XML document. To enable DTD processing set the Dtd Processing property on XmlReaderSettings to Parse and pass the … Continue reading Exception “For security reasons DTD is prohibited in this XML document” Connecting to SharePoint Online with CSOM

Fixing the Page Reload Issue for SharePoint ASP.NET MVC Provider Hosted Addins


If you launch a SharePoint/Office365 provider hosted addin using a direct URL to the app, rather than using the site contents page/applauncher, either as a dialog or fullpage immersive – you may notice that after your addin displays in the browser, the page is automatically reloaded. First, in this scenario because you [probably] won’t have an access token, nor a context … Continue reading Fixing the Page Reload Issue for SharePoint ASP.NET MVC Provider Hosted Addins

Add SharePoint Context Parameters to your MVC Provider Hosted App Form POST


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