Create Custom Action Group using Visual Studio 2015 for SharePoint 2016

Create Custom Action Group using Visual Studio 2015 for SharePoint 2019

In this post, we will discuss how we can create a custom action group using visual studio 2015 in SharePoint 2016. We will create inside the Site Settings page.


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

Then in the next dialog box, give an URL and choose farm solution.

Create Custom Action Group using Visual Studio 2015 for SharePoint 2016
Create Custom Action Group using Visual Studio 2015 for SharePoint 2016

Also, read:
How to set the Search Center URL in SharePoint Online Office 365 using the JavaScript Object Model?

Introduction to cloud computing and Microsoft Azure

How to use Deferred and Promise in JavaScript Object Model in SharePoint 2013 to make asynchronous to synchronous call?

Now add one Empty element to the project.
Right click on Project -> Add New Item and then choose Empty Element like below:

 Create Custom Action Group using Visual Studio 2015 for SharePoint 2016

Create Custom Action Group using Visual Studio 2015 for SharePoint 2016
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=”https://www.enjoysharepoint.com” />

</CustomAction>

</Elements>

 Create Custom Action Group using Visual Studio 2015 for SharePoint 2019
Create Custom Action Group using Visual Studio 2015 for SharePoint 2019

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

 Create Custom Action Group using Visual Studio 2015 for SharePoint 2013
Create Custom Action Group using Visual Studio 2015 for SharePoint 2013


Hope this will be helpful.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

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 →