Monthly Archives: December 2015

You are browsing the site archives by month.

CAML Query to Filter Lookup Field by Id using JSOM in Office 365 / SharePoint 2013

Hi, Few days ago, I wrote a post about how to Create a new lookup field using JSOM in Office 365. Continuing with the same scenario, we have two related libraries: Documents and Pages, and the requirement is to see for every page one list of related documents. So, the first step, was creating a Read More →

Retrieve Static and Internal Field Names of a SharePoint List using JavaScript in Office 365

Hi, There are scenarios where we need to show and compare Internal and Static field names of a SharePoint list. For instance, if we want to do CAML query over some custom fields, but we don’t remember exactly the Internal Name of the field, we can use this code directly copied and pasted in the Read More →

How to disable Creating Friendly URLs for New Pages behaviour in SharePoint 2013 / Office 365 using JSOM

Hi, Today I was trying to apply a filter in a Search Result Web Part in order to display items that match only with a specific content type and belonging to a specific sub site. It was annoying to me that the property Path neither the property ParentLink worked as expected. As many times, the Read More →

Create a new Lookup field using JSOM in SharePoint 2013 / Office 365

Hi, When we need to provision a new lookup column referencing a Library we can thing about using XML procedure that means using a code similar to this one: But, bad news here, this code is expecting something like “List/ListName” and it doesn’t works for a Libraries. Unless you put there directly the Library ID Read More →