Posts

Showing posts from June, 2019

Declaring SharePoint Client Side Taxonomy Picker Control and Reading the Selected Values and Create Item in List

In this post, We will learn how to declare the SharePoint Client Side Taxonomy Picker control and reading the values from it. Step 1: References required to load the Taxonomy Picker Control Correctly. CSS Reference: Try to download it (Refer if  already have in your sites) <!-- CSS Files -->              < link href = "/taxonomypickercontrol.css" rel = "stylesheet" / > <!-- Javacript Files --> JS References Files: < script src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" > < / script > < script type = "text/javascript" src = "../_layouts/15/SP.Taxonomy.js" > < / script > < script type = "text/javascript" src = "/taxonomypickercontrol.js" > < / script > < script type = "text/javascript" src = "/taxonomypickercontrol_resources.en.js" > < / script >

Filtering the Sharepoint List Taxonomy Column using Rest API

I ran into a strange issue today when using the SharePoint 2013 REST API for Lists with Managed Metadata columns    but I just had a ‘clever workaround’ moment with SharePoint’s oData/REST implementation when it comes to filtering list items based on taxonomy (managed metadata) columns. Now I do not consider myself a developer, so this article is probably a little verbose for some readers, but should be helpful to power users or IT pros. 1. To filter the Taxonomy columns in SharePoint list using Rest API call we need to use the Post method. 2. The Rest API call will give errors some times when the Rest API Query string crosses limit 260 characters that time we will use the Query in the body. Those things are clearly explained in the below example clearly. 3. WE can use the CAMEL Query in the Rest API call this example come under that. < script src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" ></ script > < script > $(do