Category Archives: Visual Studio 2010

Create a notification banner on top of every page in a SharePoint 2010 site collection using delegate control

We wanted to create a notification banner on top of every page in a SharePoint 2010 site collection like this: You could modify the master page for each site but that very cumbersome. So we will use the “Delegate Control” … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

Default Server Ribbon Customization Locations

Reference: https://msdn.microsoft.com/en-us/library/office/ee537543%28v=office.14%29.aspx SharePoint 2010 Last modified: April 05, 2011 Applies to: SharePoint Foundation 2010 The Server ribbon in Microsoft SharePoint Foundation supports customization of the default tabs, groups, and controls. In order to customize these objects, you need the specific … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

SharePoint: RegistrationId List Template Type IDs

Reference: http://techtrainingnotes.blogspot.com.au/2008/01/sharepoint-registrationid-list-template.html Below is a list of RegistrationIDs for use with API code and CustomAction Features (for user created list types) and any other list types I have found. In this article you will find: A table of all of … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

Create Custom Ribbon Actions in Visual Studio

This example creates an “Email to Someone” custom action in the Ribbon of lists and libraries. Create a new SharePoint empty project (Sandbox solution); Add a new item >> Empty Element; Sample code for Elements.xml <?xml version=”1.0″ encoding=”utf-8″ ?> <Elements … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

SPUtility.SendEmail adds spaces and new lines to email body

Problem: When using SPUtility.SendEmail  to send emails, sometimes it adds spaces and new lines to the email body automatically, or sometimes it even removes some characters, or change < to <. Solution: Add “\n” at the end of each paragraph … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

Create SharePoint Sequential Workflow with multiple tasks in Visual Studio 2010

What I wanted to Achieve: CityLink sends us an invoice (along with a csv file for travel details) every month. Before we made the payment, we need all e-Tag holders to review their travel details in the invoice and make … Continue reading

Posted in SharePoint 2010, Visual Studio 2010, Workflow | 1 Comment

Delay Activity in SharePoint 2010 Workflow (Visual Studio 2010) Not Firing

Three settings needed to be modified. Workflow Throttle, Workflow Batch, and the Hidden Workflow Timer. You can check the current throttle setting by running the following command: stsadm -o getproperty -pn workflow-eventdelivery-throttle Here is my new setting: stsadm -o setproperty … Continue reading

Posted in SharePoint 2010, Visual Studio 2010, Workflow | Leave a comment