Implement Custom Promoted Actions Delegate Control in 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.

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.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>