" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to open a SharePoint list in Windows Explorer ??

Posted on November 23rd, 2015 by Premananda Das

In SharePoint document library there is an option in action menu i.e “open in Windows Explorer”,When we click this one we can see all the documents in a window explorer,where we can drag and drop the documents for the document library . But in case of a SharePoint generic list we don’t have this option.To […]

How to programatically get the next item ID for a SharePoint list

Posted on November 23rd, 2015 by Premananda Das

For each item in a SharePoint list,an ID is associated with it.This ID is automatically generated when we add a List item. It is easy to get the item id after the item is added(either programtically or by viewing the ID column of the list).But how to get the ID of the item before the […]

How to update Modified By field in a list

Posted on November 23rd, 2015 by Arindam Deb

Sometimes we need to insert/update item using “SPSecurity.RunWithElevatedPrivileges(delegate(){});” for getting the Administrator privilege.. But as a result of that we see the “System Account” as a value of “Modified By” field of that inserted/updated item, instead of the original user who actually did the modification. In this case, we need to update the “Modified By” […]

Checking current user’s permission on a SharePoint list using C#

Posted on November 23rd, 2015 by Tarunkumar Singh

Sometimes security may be one of the major issues while writing codes. A user who has only read permission can’t add a new list item, can’t edit a list item, can’t delete a list item – In this case if we try to perform any of these operation, it will throw an exception. There may […]