SharePoint Content Organiser PropertyBag Property Settings


The SharePoint CSOM API doesn’t have an implementation to change the Content organiser settings for a site, but these settings are persisted on the Webs propertybag, meaning that you can change them using CSOM or REST. The Content Organiser Settings Setting PropertyBag Property Require users to use the organizer when submitting new content to libraries with one … Continue reading SharePoint Content Organiser PropertyBag Property Settings

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

Set a PropertyBag Property as Indexed (Queryable via Search) using CSOM + Powershell


PropertyBag values in SharePoint 2013 can be indexed, which means that they’re indexed by Search and a crawled property is created using the PropertyBag name as the crawled property name. If you then create a managed property mapped to the crawled property you can use it in your search queries. The code below creates an indexed … Continue reading Set a PropertyBag Property as Indexed (Queryable via Search) using CSOM + Powershell

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

Setting a SharePoint Multi-value Lookup Field value using PowerShell and CSOM


In this super short post I’ll show how to use Powershell and CSOM (Client-side Object Model) to set the value of a multi-value Lookup field column in a list or library. To set the value for a single-value column you just need to set the column value to a FieldLookupValue instance, note that only the LookupId … Continue reading Setting a SharePoint Multi-value Lookup Field value using PowerShell and CSOM