Archive for 'Code' Category

Get FormDigest from C# using REST in SharePoint 2013

By Namwar Rizvi - Last updated: Sunday, March 17, 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 […]

Share

Difference between Security Context of Workflow Code in SharePoint 2007 and 2010

By Namwar Rizvi - Last updated: Wednesday, May 16, 2012

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 […]

Share

Find duplicate items in SharePoint

By Namwar Rizvi - Last updated: Wednesday, December 22, 2010

Here is a quick and simple way to find duplicates for SharePoint documents.

Share

Download wsp solution file from SharePoint Farm

By Namwar Rizvi - Last updated: Sunday, October 10, 2010

Here is a simple code to download the actual solution file from SharePoint Farm.

Share

How to hide User Name from SharePoint Lists

By Namwar Rizvi - Last updated: Thursday, August 12, 2010

Here is a quickest way to Hide Created By, Modified By User names from the SharePoint List, Document Library, Survey etc.

Share