Create a custom action group in SharePoint 2013/2016 using visual studio

Create Custom Action Group using Visual Studio 2015 for SharePoint 2019
SharePoint deveopment training course

This SharePoint tutorial, we will discuss, how to create a custom action group in SharePoint 2013/2016 using visual studio 2015/2017. This will add links inside the Site Settings page in SharePoint.

Create a custom action group in SharePoint 2013/2016 using visual studio

Follow the below steps to create a custom action group in SharePoint 2013/2016 using visual studio 2015/2017.

Open Visual Studio 2015/2017 -> New Project. Then Choose SharePoint 2016 – Empty Project.

Then in the next dialog box, give a SharePoint site URL and choose farm solution.

Create a custom action group in SharePoint using visual studio

Now add one Empty element to the project.

Right-click on Project -> Add New Item and then choose Empty Element like below:

Create a custom action group in SharePoint 2013 using visual studio

By default, it will be an empty element. Add the below code here:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!– Add a Custom Group “Master Page Look And Feel" under Site Actions –>
<CustomActionGroup Description="Custom Group"
Id="CustomgroupAction"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="100"
Title="Custom Action Group">
</CustomActionGroup>
<!– Add a Link under the Group “Master Page Look And Feel" in Site Actions –>
<CustomAction GroupId="CustomgroupAction"
Id="UserInterfaceCustomActions.SiteSettings"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="20"
Title="Go to EnjoySharePoint.com">
<UrlAction Url="http://www.enjoysharepoint.com" />
</CustomAction>
</Elements>
Create a custom action group in SharePoint 2016 using visual studio

Now right click and deploy the solution. Once it is deployed successfully. Go to the Site Settings page and you can see a section must be added like below:

Create a custom action group in SharePoint 2013/2016 using visual studio

You may like following visual studio tutorials:

This SharePoint tutorial, we learned how to create a custom group in SharePoint 2013/2016 using visual studio 2015/2017.

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 Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →