Archive for 'Code' Category
Get FormDigest from C# using REST in SharePoint 2013
If you want to communicate with SharePoint 2013 through REST, you need to send FormDigest value with every request. In JavaScript, it is very easy as it will always be available on SharePoint Page where your JavaScript code is executing. It is quite tricky when you need to submit REST requests from C# code as […]
Difference between Security Context of Workflow Code in SharePoint 2007 and 2010
In SharePoint 2010, any code which executes because of the changes made by the workflow process will run in context of the user who either started the workflow or responsible for changes which caused the code to be executed. But … In SharePoint 2007, any code which executes because of the changes made by the workflow process […]
Find duplicate items in SharePoint
Here is a quick and simple way to find duplicates for SharePoint documents.
Download wsp solution file from SharePoint Farm
Here is a simple code to download the actual solution file from SharePoint Farm.
How to hide User Name from SharePoint Lists
Here is a quickest way to Hide Created By, Modified By User names from the SharePoint List, Document Library, Survey etc.