SharePoint

Update Custom Columns of Task in Project Online using CSOM

The below code will show you how to Update Custom Columns of Task in Project Online using Client Side Object Model. JSOM Example is also mentioned at the bottom for your reference, depending upon the requirement

event_note
close

The below code will show you how to Update Custom Columns of Task in Project Online using Client Side Object Model. JSOM Example is also mentioned at the bottom for your reference, depending upon the requirement

Read more

Posted in C#
SharePoint

Remove method name from JSON response in Web Service

This post will tell you how to Remove method name from JSON response in Web Service. I had a requirement where i had to receive a json response from a service layer and the response was

event_note
close

This post will tell you how to Remove method name from JSON response in Web Service. I had a requirement where i had to receive a json response from a service layer and the response was

Read more

Posted in C#
SharePoint

Send Large files using SharePoint Webservice

This  blog will explain you how to send large files to SharePoint Document Library using SharePoint Webservice I got an issue when I was sending large files to WCF REST service using custom SharePoint MultipleBaseAddressWebServiceHostFactory. The

event_note
close

This  blog will explain you how to send large files to SharePoint Document Library using SharePoint Webservice I got an issue when I was sending large files to WCF REST service using custom SharePoint MultipleBaseAddressWebServiceHostFactory. The

Read more

Posted in C#
SharePoint

SPUser Extentions

Below are methods related to operations on SPUser that may be useful for you.

  The code above is self- explanatory, in case of any doubts do email me

event_note
close

Below are methods related to operations on SPUser that may be useful for you.

  The code above is self- explanatory, in case of any doubts do email me

Read more

Posted in C#
SharePoint

String extensions in C#

These String extensions are useful when the project is quite huge and a lot of coding has to be done. Simply create a class file and add the code below, and use them anywhere throughout

event_note
close

These String extensions are useful when the project is quite huge and a lot of coding has to be done. Simply create a class file and add the code below, and use them anywhere throughout

Read more

Posted in C#
SharePoint

Before and After Properties in List Item Event Receiver

There was a requirement where I had to first validate the Before and After Properties in an ItemUpdating Event Receiver. For e.g. An email should be triggered only if the Status Column in a SharePoint

event_note
close

There was a requirement where I had to first validate the Before and After Properties in an ItemUpdating Event Receiver. For e.g. An email should be triggered only if the Status Column in a SharePoint

Read more

Posted in C#
SharePoint

Retrieve items from a particular folder of a list

There are times when we need to fetch only the items within a specific folder. In those cases we can use the ‘Folder’ property of SPQuery class. Simply set the ‘Folder’ property to a Folder object

event_note
close

There are times when we need to fetch only the items within a specific folder. In those cases we can use the ‘Folder’ property of SPQuery class. Simply set the ‘Folder’ property to a Folder object

Read more

Posted in Code behind
SharePoint

Attach and Detach Event Receiver Programmatically C#

Recently i came up with an issue with an SP 2007 requirement, where I was updating records using a visual web part. But due to an event receiver deployed by another vendor, the records were

event_note
close

Recently i came up with an issue with an SP 2007 requirement, where I was updating records using a visual web part. But due to an event receiver deployed by another vendor, the records were

Read more

Posted in Code behind
SharePoint

Get File Content SharePoint using external applications

This blog post explains on how to get file content from SharePoint using external applications basically other programming languages. Although the below code is in C#, i am sure you will figure out how to

event_note
close

This blog post explains on how to get file content from SharePoint using external applications basically other programming languages. Although the below code is in C#, i am sure you will figure out how to

Read more

Posted in Code behind
SharePoint

Connect to SharePoint On Premise using external applications

I was having a tough time searching on the internet on how to connect to SharePoint On Premise from an external application. Now as you all know, we need to first authenticate ourselves in SharePoint,

event_note
close

I was having a tough time searching on the internet on how to connect to SharePoint On Premise from an external application. Now as you all know, we need to first authenticate ourselves in SharePoint,

Read more