1. Introduction to Client Object Model. Client Object Model is nugget feature of SharePoint 2010. It is the subset of server object model which defined in Microsoft.sharepoint.dll it is used to manipulate and consume share point data. Client object Model Implement on Window communication Foundation (WCF) service (…/_vti_bin/client.svc) Note: You Need Microsoft.sharepoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll For working

Read More
An overview of the SharePoint 2010 Client Object Model

For our on-Premise SharePoint 2013 site, we needed to be able to prevent users from viewing other people’s submitted leave requests forms.  In addition, we needed to prevent users from modifying their own forms after submission.  The final requirement that we had was that the forms were not to be moved to a different library

Read More
Changing Views Available to End Users on Forms Library in SharePoint 2013

A sample JS to modify the list choice field options. var context = new SP.ClientContext.get_current(); var web = context.get_web(); var cldList = web.get_lists().getByTitle(“Calendar”); var categoryField = cldList.get_fields().getByInternalNameOrTitle(“Category”); var categoryChoiceField = context.castTo(categoryField, SP.FieldChoice); context.load(categoryChoiceField); context.executeQueryAsync(function () { var categoryChoices = categoryChoiceField.get_choices(); var categoryTC = categoryChoices.filter(function (choice) { return choice === “MyEvents”; }); if (categoryTC.length == 0)

Read More
How to moodify the List Choice Field options in SharePoint using the Javascript Client Object model

There are several issues that can happen while migrating SharePoint from one version to another. Here is our tip on how to troubleshoot an issue with calling asmx web service in SharePoint 2010 through jQuery. After migration of a SharePoint 2007 application to SharePoint 2010 our jQuery scripts that communicate with ASMX web services suddenly

Read More
Troubleshooting an Issue With Calling an ASMX Web Service in SharePoint 2010 through jQuery

Scenario: Display a aggregated calendar view from all the calendar list in a single page. Reference: JQuery – Full Calendar plugin I am going to use the Jquery, Full Calendar plugin, Content editor webpart to demonstrate how to display the Single aggregated calendar using the SharePoint search result (Javascript – CSOM). Steps: Add a Content Editor

Read More
O365 – SharePoint 2013 – Search based Calendar aggregation – Single Calendar view – from different sites

I was looking into the option of auto deploying an custom developed app at the time of creating a site in O365 / SP2013 environment. Scenario: 1. Custom app (MVC – Azure hosted) – Need to deploy it automatically so that it can customise the site created using a site template. (i.e. attaches the remote

Read More
Office 365 – SharePoint 2013 – Autoinstall an app at the time of creating a subsite – LoadAndInstallApp

Promoted Links – Tiles view webpart is one of the easiest way to present the new Tile interface to the user.  The default view only renders the Tiles horizontally and to have wrapped tile view, we have to customise it. For our O365 project, we have customised the Tiles view using the following Javascript. Default

Read More
How to create a wrapped tile-view for the ‘Multiple Promoted Links’ webpart in a page