Posts

Showing posts from February, 2012

Default SharePoint Workflow Activities

Go to Microsoft.SharePoint.Workflow.dll and SPWinOEWSSService class

The importance of synchronous event handlers

  http://www.sharepoint-tips.com/2012/01/importance-of-synchronous-event.html

Remove/Hide the SharePoint Ribbon Menu for specific List/Library

  You can refer to this topic for “Add Custom Action for specific SharePoint Object (SPWeb, SPList)”: http://trungpv.blogspot.com/2012/02/add-custom-action-for-specific.html   Remove the Ribbon Menu for specific List/Library: string siteURL = http://testsite ;             using ( SPSite site = new   SPSite (siteURL))             {                 using ( SPWeb web = site.OpenWeb())                 {                     SPList list = web.Lists[ "Shared Documents" ];                     SPUserCustomAction action = list.Us...

Customization of the Server Ribbon

  http://msdn.microsoft.com/en-us/library/ff407268.aspx

Add Custom Action for specific SharePoint Object (SPWeb, SPList)

  In SP 2010, you can add a Custom Action to spcifice Web, List/Library by using SharePoint Designer 2010 Ref: http://sharepointyankee.com/2009/12/19/adding-custom-actions-to-the-list-item-menu-in-sharepoint-2010-using-sharepoint-designer-2010/   Or you can do it via SharePoint Object Model: using ( SPSite site = new   SPSite (siteURL))             {                 using ( SPWeb web = site.OpenWeb())                 {                                    SPList list = web.Lists[ "Test1" ];                SPUserCustomAction action ...