Archives by Tag 'Code'

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

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

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

How to generate a valid SharePoint FileName

By Namwar Rizvi - Last updated: Thursday, June 17, 2010

How to generate a valid SharePoint FileName. I have created a utility function to convert a given string to a valid SharePoint filename. This function is valid for SharePoint 2003, 2007 and 2010.

Share

How to create a general purpose Search Results ticker in SharePoint by jQuery

By Namwar Rizvi - Last updated: Saturday, May 22, 2010

Here is the quickest way to create search results ticker in SharePoint by using jQuery and jCarousel Lite. Just copy paste the code and your ticker is ready.

Share

Custom Edit Form for SharePoint Lists

By Namwar Rizvi - Last updated: Wednesday, October 21, 2009

Here are the real time savers rule if you are developing custom edit forms for SharePoint Lists

Share

How to use Case statement in RenderPattern of a Custom Field Type

By Namwar Rizvi - Last updated: Wednesday, October 14, 2009

Here is an example of using Case structure to render different HTML based on different values of the field

Share

How to add custom CSS in your WebPart

By Namwar Rizvi - Last updated: Sunday, June 14, 2009

Here is the quickest way to add your own CSS file for your web part.

Share

Update List Item without changing Modified By and Modified fields

By Namwar Rizvi - Last updated: Tuesday, September 30, 2008

Here is a quick way of updating item fields without changing Modified and Modified By fields

Share