SharePoint Security

0The code I am attaching will do the following things Get all users from the site Check if User is Site Admin Get all groups the user belongs to Details page of user on click of user name Navigate to group on click of group name I have used datatables.net to enable the following Default Read more about SharePoint Security[…]

SharePoint

Remove method name from JSON response in Web Service

0This 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 without a method name. So i needed to make sure that when i am sending the json data it has Read more about Remove method name from JSON response in Web Service[…]

Tree view structure for Document library

Tree view structure for Document library

0To add a Tree view structure for Document library view, follow these steps: Browse to the view you want to add the tree view to. This must be a list view page (i.e. it won’t work on default .aspx or home.aspx). Edit the page in SharePoint Designer — then click Advanced Mode. Add a table Read more about Tree view structure for Document library[…]

SharePoint

Send Large files using SharePoint Webservice

0This  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 error displayed as “Entity Request too Large” Response Code: 413 You cannot override the settings  in web.config because factory it Read more about Send Large files using SharePoint Webservice[…]

SharePoint

SPUser Extentions

0Below 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

SharePoint

Before and After Properties in List Item Event Receiver

0There 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 List changes and not on any other Column. But what I didn’t know is that you cannot get the Original Read more about Before and After Properties in List Item Event Receiver[…]

SharePoint

Get the list of Fields from the entire Site Collection using Powershell

0Few months ago I received a requirement for SharePoint 2007 where the SharePoint Site used custom fields through a third party solution. For e.g “Single Line of Text with Regex” So basically you create a column of this field type which I found it to be cool. But as this was a custom solution, we Read more about Get the list of Fields from the entire Site Collection using Powershell[…]