Category Archives: Sharepoint 2010 Lists , Libraries & Event Receivers

Get the SPUser Object Details from SharePoint ListItem


Get the SPUser Object Details from SharePoint ListItem private SPUser GetSPUser(SPListItem item, string key)  { SPFieldUser field = item.Fields[key] as SPFieldUser; if (field != null && item[key] != null)       {    SPFieldUserValue fieldValue = field.GetFieldValue(item[key].ToString()) as SPFieldUserValue;    if … Continue reading

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers, Sharepoint 2010 User Profiles | Leave a comment

Eventreciever – replace ListTemplateId with ListUrl and add the URL of the list instance


Eventreciever – replace ListTemplateId with ListUrl and add the URL of the list instance In Solution Explorer, under EventReceiver1, double-click Elements.xml to open it. The event receiver currently references the Announcements list definition by using the line <Receivers ListTemplateId=”104″> Change … Continue reading

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers | Leave a comment

This List is too large to save as a template. The size of a template cannot exceed 10485760 bytes.


This List is too large to save as a template. The size of a template cannot exceed 10485760 bytes.   stsadm -o setproperty -propertyname max-template-document-size-propertyvalue 500000000 Good Ref: http://www.law.com/jsp/lawtechnologynews/PubArticleLTN.jsp?id=1202443237483&slreturn=1&hbxlogin=1

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers | Leave a comment

SharePoint – ListField Iterator


SharePoint – ListField Iterator This control renders each field in a list item with an appropriate control. A single line text field will be rendered as a text box while a lookup field will be rendered as combo box. This … Continue reading

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers | Leave a comment

Sharepoint Datasheet view is not working in office 2010


Sharepoint Datasheet view is not working in office 2010 Overview The 64bit version of office 2010 leaves us a bit wanting. For those users that uninstall Office 2007 and install the new 64 bit addition, a host of feature will … Continue reading

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers | Leave a comment

Show or hide Fields in List / Library


Show or hide Fields in List / Library http://spc3.codeplex.com/wikipage?title=ShowHideFields&referringTitle=Home

Posted in Sharepoint 2010 Lists , Libraries & Event Receivers | Leave a comment