Kwizcom Forms

Implement Custom Promoted Actions Delegate Control in SharePoint 2013

delegate control sharepoint 2013

This SharePoint tutorial we will discuss, how to implement PromotedActions Delegate Control in SharePoint 2013.

PromotedActions Delegate Control is responsible for displaying Links “Share, Follow, SYNC, EDIT” in the top right below SuiteLinksDelegate Control. These links can be replaced by Overriding PromotedActions Delegate Control using a Custom Control created using Visual Studio to the following area on a SharePoint site in the top-right section of the page.

SharePoint deveopment training course

Implement Custom Promoted Actions Delegate Control in SharePoint 2013

Follow below steps to implement custom promoted actions delegate control in SharePoint 2013.

Step-1:
Create One Empty SharePoint Project and Provide the Solution Name and Choose the Solution Path and Click on OK.

Step-2:
Deploy the Solution as Farm Solution. Provide the Url in the next Screen and validate the Connection.

Step-3:
Add New UserControl to the Project from the Templates and Provide the Name to it, in our case it is “MyCustomPromotedActionsDelegate”.

promoted actions delegate control
promoted actions delegate control

Now Our Solution Explorer looks as follows:

promoted actions delegate control 2013
promoted actions delegate control 2013

Step-4:
Now open the “.ascx” of the User Control and paste the following code.

promoted actions delegate control sharepoint 2013
promoted actions delegate control sharepoint 2013

Step-5:
Add Elements.xml file to the Solution, Provide the name and click on Add.

sharepoint 2013 promoted actions delegate control
sharepoint 2013 promoted actions delegate control

Step-6:
Click on elements.xml file paste the below code snippet inside the element’s tag

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!– DelegateControl reference to the PromotedActions Delegate Control –>
<Control ControlSrc="/_controltemplates/15/PromotedActionsDelegate_Example/MyCustomPromotedActionsDelegate.ascx"
Id="PromotedActions"
Sequence="1" />
</Elements>

Step-7:
The final step is to build and deploy then adding an additional link.

The final Outcome will be look as follows:

create custom promoted actions delegate control sharepoint 2013
create custom promoted actions delegate control sharepoint 2013

You may like following SharePoint tutorials:

Hope this SharePoint tutorial helps to implement custom promoted actions delegate control in SharePoint 2013.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →