Category Archives: Uncategorized

403 Forbidden from /_api/contextinfo when using Chrome Postman REST App

tl;dr The Postman App was sending an Origin header to /_api/contextinfo and that was generating a 403 Forbidden. Using a fiddler rule I removed the Origin HTTP header and the call to /_api/contextinfo endpoint then worked. I’ve recently been trying to grok the … Continue reading

Posted in Uncategorized | 13 Comments

SharePoint 2013 error after creating a view

There have been several reports of users experiencing an error when creating a view with an out the box SharePoint 2013 Team Site. tl;dr  Requests made via a load balancer that strips out the Accept-Encoding header cause an error creating … Continue reading

Posted in Uncategorized | 5 Comments

SharePoint 2013 Audit Log Trimming – remember to edit your timer jobs to fit your log retention

SharePoint 2013 offers the option of audit logs: Configure audit settings for a site collection One of the settings available is to trim the audit logs and optionally save the trimmed data into a library. As the above article states … Continue reading

Posted in Uncategorized | Leave a comment

SharePoint 2013 Content Search Web Part and filtering on User Profile Properties

I am working on a new SharePoint 2013 implementation for an organisation that has a particular desire to have as much personalised content as possible on the Intranet home page. The idea is to have say one main area on … Continue reading

Posted in Uncategorized | Leave a comment

SharePoint EventReceiver AfterProperties and Date fields

I had a brief to write an EventReceiver that looked for changes to certain fields and if the changes were detected to write an entry to another list. Seems simple enough but I ran into an issue with Date fields. … Continue reading

Posted in Uncategorized | Leave a comment

SPWeb.ProcessBatchData() doesn’t really take an xml string

If you look at the documentation for SPWeb.ProcessBatchData(): http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.processbatchdata(v=office.12).aspx You see that all you need to do is craft up a simple bit of xml and send to the method. Now I don’t know about you but whenever I create … Continue reading

Posted in Uncategorized | 3 Comments